You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wanted to set the selected value of MultiSelectDialogField from my bloc code by binding it to the initialValue parameter but on looking at source code I found that the internal reference was only being updated in the initState
If there is any other way externally modify (using the bloc architecture) the selected values of MultiSelectDialogField without altering the code please let me know.
The text was updated successfully, but these errors were encountered:
I wanted to set the selected value of MultiSelectDialogField from my bloc code by binding it to the initialValue parameter but on looking at source code I found that the internal reference was only being updated in the initState
Which makes it imposible to use it to update the selected value on state change triggered on changing the initialValue parameter from my bloc code.
I was able to fix the issue by modifying the build method of MultiSelectDialogField
If there is any other way externally modify (using the bloc architecture) the selected values of MultiSelectDialogField without altering the code please let me know.
The text was updated successfully, but these errors were encountered: