Number input
(TEA) Initial model constant
(TEA) View function
Options of the input component.
* id is the id of the HTML element.
* maxLength is the maximum number of character allowed in this input. Set to Nothing for no limit.
* maxValue is the maximum number value allowed in this input. Set to Nothing for no limit.
* minValue is the minimum number value allowed in this input. Set to Nothing for no limit.
Default value for Options.
Params:
* id (type: String) : The id of the number input element.
(TEA) Update function
(TEA) Opaque Msg types
(TEA) Model record Fields: *
value: current value of the input element. *hasFocus: flag whether the input element has focus or not.