srtraj / dropdown_textfield

custom dropdown
MIT License
9 stars 49 forks source link

DropDownTextField.multiSelection not updating textfield after setDropDown #65

Open sharpsaravanan opened 2 months ago

sharpsaravanan commented 2 months ago

MultiValueDropDownController value changes after calling setDropDown() (checkbox reflects the change) but textfield ui is not reflecting the change. I can't find any solution please can some one help me.

Example app

floatingActionButton: FloatingActionButton.extended( onPressed: () { _cntMulti.clearDropDown(); _cntMulti.setDropDown([ const DropDownValueModel(name: 'name1', value: "value1") ]); }, label: const Text("Submit"), ),