flutter_chips_input
flutter_chips_input copied to clipboard
enabled attribute doesn't work as expected
Hi,
Im trying to disable modifications by setting the "enabled" attribute to false. Even tho i set it to false i'm still able to to add and remove values.
Running Flutter 1.20.2
It appears that when enabled is set to false, it only disables deleteChip.
Hi,
If someone else got the same issue i manage to work around this by putting the ChipsInput widget in a IgnorePointer widget.
Small example which will ignore all user input for all widgets (and its subtree):
return IgnorePointer( ignoring: true, child: ChipsInput()