flutter_chips_input icon indicating copy to clipboard operation
flutter_chips_input copied to clipboard

enabled attribute doesn't work as expected

Open freppps opened this issue 5 years ago • 2 comments

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

freppps avatar Aug 30 '20 16:08 freppps

It appears that when enabled is set to false, it only disables deleteChip.

awhitford avatar Jan 08 '21 06:01 awhitford

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()

freppps avatar Jan 23 '21 14:01 freppps