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
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. 💤
The text was updated successfully, but these errors were encountered:
It would be great to have support for optional values.
I would prefer to use
flutter_touch_spin
(viaFormBuilderTouchSpin
), 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 needmin:1
, butallowEmpty: 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. 💤The text was updated successfully, but these errors were encountered: