Optional
displayAsCurrency?: booleanOptional
isInteger?: booleanIf true, the user will not be able to enter a decimal number, only integers are allowed.
If true
, the input will display as a slider instead of a numeric input
and the sliderIncrement
is required.
Optional
maxNumber?: numberPrevent the user from entering a number more than this number.
If isInteger
is true
, this value must also be an integer.
Must be more than the minNumber
if minNumber
is set to a number.
Optional
minNumber?: numberPrevent the user from entering a number less than this number.
If isInteger
is true
, this value must also be an integer.
Must be less than the maxNumber
if maxNumber
is set to a number.
Optional
sliderIncrement?: numberRequired if isSlider
is true
, otherwise must be undefined
.
The increment the slider will go up and down by. Must be greater than 0 and supports decimals.
If isInteger
is true
, this value must also be an integer.
If true, the form will indicate the number is a currency value.