NOTE: the latest version is 8.0.1
This module contains a reusable NumberField type.
NumberField
Represents a number field.
Note: You should not need to care about this unless you are creating your own custom fields or writing custom view code.
The attributes of a NumberField.
You need to provide these to:
Form.numberField
Its step is a Maybe -- Nothing represents the HTML attribute value of "any". If you want only integers allowed, use Just 1.
step
Nothing
Just 1
Builds a Form with a single NumberField.
Form
Note: You should not need to care about this unless you are creating your own custom fields.
Represents a number field.
Note: You should not need to care about this unless you are creating your own custom fields or writing custom view code.