oi-narendra / multiselect-dropdown

Streamlined Flutter widget for versatile multi-selection with extensive customization.
https://pub.dev/packages/multi_dropdown
GNU General Public License v3.0
74 stars 84 forks source link

How to update options? #104

Closed davidcheungo123 closed 4 months ago

davidcheungo123 commented 5 months ago

I tried to add an item in options based on user's input, however seems like it cannot be updated, what should I do for resolving this issue? Thanks

AlaJaber97 commented 4 months ago

any update about this issue? setState(){} not update the option

davidcheungo123 commented 4 months ago

any update about this issue? setState(){} not update the option

I resolved the issue, you need to _controller.setOptions for the purpose

Paroca72 commented 4 months ago

Hello,

I have the same issue but I cannot use the controller.. I need to redraw the control every time but it drawn correct only the first time. I think the problem is that missing the didUpdateWidget implementation inside the control.

Thanks

oi-narendra commented 4 months ago

Please check out beta version Beta.

oi-narendra commented 4 months ago

Please migrate to the latest version v3.0.0