The <INPUT/> widget creates an editable text field to take in, edit, update, validate and mask user data. The <INPUT/> widget can be used on its own or as a field within a <FORM/>.
Restrictions:
Attributes
Name
Type
Default
Description
Req
Behavior
type
string
Shorthand for a mix of mask and validation:
email : valid email address
phone : valid phone number in format +# (###) ### ####
currency : curreny formatted as $$$.$$
credit : credit card number
cvc : credit card 3 digit pin in format ###
bool : restricted to 0 and 1
numeric : valid number ###.##
int : numeric : valid integer ###
expiry : Valid expiry date in format MM/YY
allow
string
A regex expression which defines allowable input characters
deny
string
A regex expression which defines restricted input characters
Duration in milliseconds where a pause in typing longer that this value, automatically commits the string. When set to 0, the typed value is committed only after the field loses focus
Size
length
int
The max length in characters allowed.
width
int
200
width of the input field. Expands to fill its parent unless the parent had an infinite width in which case the input is limited to 200 pixels.
size
int
16
Input font size
lines
int
1
The minimum number of lines to display
maxlines
int
The maximum number of lines to display
dense
bool
false
Set true for a more compact version of the input for small areas