icemanbsi / searchable_dropdown

MIT License
107 stars 162 forks source link

On change not working in android #110

Open charlesarchibong opened 3 years ago

charlesarchibong commented 3 years ago

The onChange callback function is not working properly in android but works well on iOS, on first click it works, but I change to a new value, it doesn't update like it should

zahidramzan052 commented 3 years ago

same issues happening with me.Any solution?

neokree commented 3 years ago

I also have this issue, but to me it doesn't work on iOS and works correctly on Android.

At first when I preselect a value it is selected, when I open the dialog again and select another element the onChange callback is called with the previous value selected.

neokree commented 3 years ago

After further investigation seems like this is a duplicate of #55, and there is already a PR #84

ricardopaulob commented 3 years ago

After further investigation seems like this is a duplicate of #55, and there is already a PR #84

I tested that PR and works well for me. I am using this PR code on my app now. Hope that this PR be applied soon.