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
When using initialValue for MultiSelectBottomSheetField, tapping on initial selected badges doesn't work.
For example:
`
List<Object?> _selectedAnimals = [animal[2], animal[1]];
I experience the same issue. After submitting the initial values once, you can remove them with the chip selection. Before the first submit, changing the list in the state doesn't seem to trigger the rerender.
I solved the issue in a fork; it had to do with the initialItems assignment. Instead of assigning the actual list, it created a new list and added the items. This way, the initial items don't have the same list as an assignment as the initialValues in your local state. So when the list in your local state gets edited, the list that is loaded in the chips isn't changed.
When using initialValue for MultiSelectBottomSheetField, tapping on initial selected badges doesn't work.
For example:
`
List<Object?> _selectedAnimals = [animal[2], animal[1]];
`
The text was updated successfully, but these errors were encountered: