icemanbsi / searchable_dropdown

MIT License
107 stars 162 forks source link

Selcted value is not changes if I give preselected value #129

Open dnsoumik opened 3 years ago

dnsoumik commented 3 years ago

onChange function I am always getting the preselected value not the value user clicked

HetalGohil commented 3 years ago

yes i am also getting first value when selected on onchage.in onchange it is not updating value

isiyemijoe commented 3 years ago

Same issue here any fix yet?

lcuis commented 3 years ago

Hello @dnsoumik , @HetalGohil and @isiyemijoe ,

Thanks for taking the time to write here.

Can you please give a minimal yet complete and runnable example of what you mean?

nagasaidurga commented 3 years ago

Yes Same issue for me as well. If we add preselected option with value parameter with SearchableDropdown constructor.Then its always giving the same value in the onchange method.

Please fix this issue as early as possible.

PhilDevs94 commented 3 years ago

onChange function I am always getting the preselected value not the value user clicked

Could you show specific your code ?

shady11 commented 2 years ago

same issue, any updates?