-
Notifications
You must be signed in to change notification settings - Fork 24
Open
Description
It would be great to have support for optional values.
I would prefer to use flutter_touch_spin (via FormBuilderTouchSpin), but I have a use-case where the values are optional. They can start out blank/null, and if you increment them, you get 1, then 2, etc. In my case, a 0 value is logically the same as blank/null.
I don't want to see a 0, so the idea of specifying min:0 is not appealing to me (in this case). I need min:1, but allowEmpty: true and empty is numerically equivalent to 0 -- at least from the increment/decrement logic.
In the meantime, I am simply using FormBuilderTextField, but a guy can dream. 💤
Metadata
Metadata
Assignees
Labels
No labels