-
Notifications
You must be signed in to change notification settings - Fork 64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Set initial selected values but getting exception "Exception: Cannot select options that are not in the options list" in version 2.1.4 #97
Comments
To set initial values you should use their controller. Set the options & selected options from controller. You can use : _controller.setOptions(...) // To set options, you should do this. The selected items will match an items from this options
_controller.setSelectedOptions(...) // Then, set initial selected items from this controller function put that code into initState |
I tried but same error
|
Did you resolved this problem ? |
Check Beta version. |
Migrate to the latest version v3.0.0. |
This is what i tried on flutter application.
i used this code with version 2.1.0 then no issue, but 2.1.4 is getting below exception.
please resolve it
and getting this error but in UI it displays correctly. but individual de-select is not working. what is the issue here ?
The text was updated successfully, but these errors were encountered: