|
form
|
Form
|
The form structure holding form data.
|
|
|
|
field
|
:atom
|
|
|
|
|
name
|
:string
|
|
|
|
|
label
|
:string
|
|
|
|
|
value
|
:string
|
|
|
|
|
placeholder
|
:string
|
|
|
|
|
hint
|
:string
|
An hint to display below the input.
|
|
|
|
addon
|
:string
|
A short label that will be preprended to your input
|
|
|
|
icon
|
:string
|
A font awesome icon class that will be prepended to the input.
|
|
|
|
disabled
|
:boolean
|
To allow input change or not. The default value will not be submitted.
|
false
|
|
|
readonly
|
:boolean
|
Same usage as disabled, but the value will be submitted.
|
false
|
|
|
autofocus
|
:boolean
|
Give focus to this input on form load.
|
false
|
|
|
type
|
:atom
|
The type of the input field. Currently supported types: text, number, password
|
:text
|
|
|
textarea
|
:boolean
|
Turns the text input into a textarea.
|
false
|
|
|
rows
|
:integer
|
|
|
|
|
cols
|
:integer
|
|
|
|
|
min
|
:integer
|
|
|
|
|
max
|
:integer
|
|
|
|
|
step
|
:integer
|
|
|
|
|
pattern
|
:string
|
HTML input pattern property
|
|
|
|
inputmode
|
:string
|
HTML input inputmode property
|
|
|
|
can_reveal_password
|
:boolean
|
A reveal button is displayed next to password input
|
false
|
|
|
clipboard
|
:boolean
|
A copy-to-clipboard button is displayed next to the input field.
|
false
|
|
|
clipboard_tooltip_text
|
:string
|
Text to be displayed in the tooltip when hovering over the clipboard icon
|
"Copier le contenu"
|
|