The number widget uses an HTML number input, saving the value as a string, integer, or floating point number.
number
value_type
optiondefault
: accepts string or number value; defaults to empty stringvalue_type
: accepts int
or float
; any other value results in saving as a stringmin
: accepts a number for minimum value accepted; unset by defaultmax
: accepts a number for maximum value accepted; unset by defaultstep
: accepts a number for stepping up/down values in the input; 1 by default