Form control: Spinner

The spinner control is a control used for numeric input. It provides a text area with up and down arrows for conveniently being able to adjust the numeric input.

Arguments

minValue (optional) A minimum value accepted by the control (will trigger validation errors if attempting to submit lower values)
maxValue (optional) A maximum value accepted by the control (will trigger validation errors if attempting to submit higher values)
step (optional) Numeric value defining by how much the value should increase or decrease when the spinner control's up and down buttons are triggered. Default is 1.

Example

<field name="companySize" control="spinner" minvalue="0" maxvalue="200000" step="5000" />