Form Input Numbers - Zero not sticking as default value, how to block negative values

Noticed that when you give a form field with type Input: Number, and set the default value to 0 (zero), it does not stick. The label is then instead used as default value (e.g. undefined).

I find this to be unexpected, but maybe it is by design?

Also, related - how can I block negative values from being entered using the spinner (up/down arrows)?

Ooops, my bad! I overlooked that I had a data binding present with no data, overriding the default, as it of course should!

Still would like to know how to prevent negative values from getting in using the spinners…

I’ve created a ticket to add:

  • new props (min/max) for Number Input
  • new handler for sync validation