improvements

design_3.0_loan_module
Sikander Saleem 2 weeks ago
parent d57348dd92
commit af6ae868d7

@ -281,8 +281,13 @@ class _CreateLoanRequestPageState extends State<CreateLoanRequestPage> with Tick
backgroundColor: AppColor.fieldBgColor(context),
showAsBottomSheet: true,
onSelect: (value) {
_loanFormModel.mappedSite = value;
setState(() {});
if(value!=null){
_loanFormModel.mappedSite = value;
_loanFormModel.mappedDepartment = null;
Provider.of<DepartmentLookupProvider>(context,listen:false).getData(id:_loanFormModel.mappedSite?.id);
setState(() {});
}
},
),
8.height,

Loading…
Cancel
Save