Text Input

Attribute Type Documentation Default Value
form %Form{} The form structure holding form data.
field :atom The form field key.
name :string The input name.
label :string The input label.
value :string The input value.
placeholder :string The input placeholder.
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