View Source PetalComponents.Form (petal_components v0.19.2)
Everything related to forms: inputs, labels etc
Link to this section Summary
Functions
Attributes
form
(:any
) - . Defaults tonil
.field
(:atom
) - . Defaults tonil
.label
(:string
) - labels your field. Defaults tonil
.class
(:string
) - extra classes for the text input. Defaults to""
.rest
(:global
) - Supports all globals plus:["checked_value", "unchecked_value", "checked", "hidden_input", "autocomplete", "disabled", "form", "max", "maxlength", "min", "minlength", "pattern", "placeholder", "readonly", "required", "size", "step", "value", "name", "multiple", "prompt", "selected", "default", "year", "month", "day", "hour", "minute", "second", "builder", "options", "layout"]
.
Attributes
form
(:any
) - . Defaults tonil
.field
(:atom
) - . Defaults tonil
.label
(:string
) - labels your field. Defaults tonil
.class
(:string
) - extra classes for the text input. Defaults to""
.options
(:list
) - options for the select. Defaults to[]
.layout
(:atom
) - layout for the checkboxes. Defaults to:col
.rest
(:global
) - Supports all globals plus:["autocomplete", "disabled", "form", "max", "maxlength", "min", "minlength", "pattern", "placeholder", "readonly", "required", "size", "step", "value", "name", "multiple", "prompt", "selected", "default", "year", "month", "day", "hour", "minute", "second", "builder", "options", "layout"]
.
Attributes
form
(:any
) - . Defaults tonil
.field
(:atom
) - . Defaults tonil
.label
(:string
) - labels your field. Defaults tonil
.class
(:string
) - extra classes for the text input. Defaults to""
.rest
(:global
) - Supports all globals plus:["autocomplete", "disabled", "form", "max", "maxlength", "min", "minlength", "pattern", "placeholder", "readonly", "required", "size", "step", "value", "name", "multiple", "prompt", "selected", "default", "year", "month", "day", "hour", "minute", "second", "builder", "options", "layout"]
.
Attributes
form
(:any
) - . Defaults tonil
.field
(:atom
) - . Defaults tonil
.label
(:string
) - labels your field. Defaults tonil
.class
(:string
) - extra classes for the text input. Defaults to""
.rest
(:global
) - Supports all globals plus:["autocomplete", "disabled", "form", "max", "maxlength", "min", "minlength", "pattern", "placeholder", "readonly", "required", "size", "step", "value", "name", "multiple", "prompt", "selected", "default", "year", "month", "day", "hour", "minute", "second", "builder", "options", "layout"]
.
Attributes
form
(:any
) - . Defaults tonil
.field
(:atom
) - . Defaults tonil
.label
(:string
) - labels your field. Defaults tonil
.class
(:string
) - extra classes for the text input. Defaults to""
.rest
(:global
) - Supports all globals plus:["autocomplete", "disabled", "form", "max", "maxlength", "min", "minlength", "pattern", "placeholder", "readonly", "required", "size", "step", "value", "name", "multiple", "prompt", "selected", "default", "year", "month", "day", "hour", "minute", "second", "builder", "options", "layout"]
.
Attributes
form
(:any
) - . Defaults tonil
.field
(:atom
) - . Defaults tonil
.label
(:string
) - labels your field. Defaults tonil
.class
(:string
) - extra classes for the text input. Defaults to""
.rest
(:global
) - Supports all globals plus:["autocomplete", "disabled", "form", "max", "maxlength", "min", "minlength", "pattern", "placeholder", "readonly", "required", "size", "step", "value", "name", "multiple", "prompt", "selected", "default", "year", "month", "day", "hour", "minute", "second", "builder", "options", "layout"]
.
Attributes
form
(:any
) - . Defaults tonil
.field
(:atom
) - . Defaults tonil
.label
(:string
) - labels your field. Defaults tonil
.class
(:string
) - extra classes for the text input. Defaults to""
.rest
(:global
) - Supports all globals plus:["autocomplete", "disabled", "form", "max", "maxlength", "min", "minlength", "pattern", "placeholder", "readonly", "required", "size", "step", "value", "name", "multiple", "prompt", "selected", "default", "year", "month", "day", "hour", "minute", "second", "builder", "options", "layout"]
.
Attributes
form
(:any
) - . Defaults tonil
.field
(:atom
) - . Defaults tonil
.label
(:string
) - labels your field. Defaults tonil
.class
(:string
) - extra classes for the text input. Defaults to""
.rest
(:global
) - Supports all globals plus:["autocomplete", "disabled", "form", "max", "maxlength", "min", "minlength", "pattern", "placeholder", "readonly", "required", "size", "step", "value", "name", "multiple", "prompt", "selected", "default", "year", "month", "day", "hour", "minute", "second", "builder", "options", "layout"]
.
Attributes
form
(:any
) - . Defaults tonil
.field
(:atom
) - . Defaults tonil
.label
(:string
) - labels your field. Defaults tonil
.class
(:string
) - extra classes for the text input. Defaults to""
.rest
(:global
) - Supports all globals plus:["autocomplete", "disabled", "form", "max", "maxlength", "min", "minlength", "pattern", "placeholder", "readonly", "required", "size", "step", "value", "name", "multiple", "prompt", "selected", "default", "year", "month", "day", "hour", "minute", "second", "builder", "options", "layout"]
.
Use this when you want to include the label and some margin.
Attributes
form
(:any
) - . Defaults tonil
.field
(:atom
) - . Defaults tonil
.class
(:string
) - extra classes for the text input. Defaults to""
.
Attributes
form
(:any
) - . Defaults tonil
.field
(:atom
) - . Defaults tonil
.has_error
(:boolean
) - . Defaults tofalse
.label
(:string
) - labels your field. Defaults tonil
.rest
(:global
)
Slots
inner_block
Attributes
form
(:any
) - . Defaults tonil
.field
(:atom
) - . Defaults tonil
.label
(:string
) - labels your field. Defaults tonil
.class
(:string
) - extra classes for the text input. Defaults to""
.rest
(:global
) - Supports all globals plus:["autocomplete", "disabled", "form", "max", "maxlength", "min", "minlength", "pattern", "placeholder", "readonly", "required", "size", "step", "value", "name", "multiple", "prompt", "selected", "default", "year", "month", "day", "hour", "minute", "second", "builder", "options", "layout"]
.
Attributes
form
(:any
) - . Defaults tonil
.field
(:atom
) - . Defaults tonil
.label
(:string
) - labels your field. Defaults tonil
.class
(:string
) - extra classes for the text input. Defaults to""
.rest
(:global
) - Supports all globals plus:["autocomplete", "disabled", "form", "max", "maxlength", "min", "minlength", "pattern", "placeholder", "readonly", "required", "size", "step", "value", "name", "multiple", "prompt", "selected", "default", "year", "month", "day", "hour", "minute", "second", "builder", "options", "layout"]
.
Attributes
form
(:any
) - . Defaults tonil
.field
(:atom
) - . Defaults tonil
.label
(:string
) - labels your field. Defaults tonil
.class
(:string
) - extra classes for the text input. Defaults to""
.value
(:any
) - the radio value. Defaults tonil
.rest
(:global
) - Supports all globals plus:["autocomplete", "disabled", "form", "max", "maxlength", "min", "minlength", "pattern", "placeholder", "readonly", "required", "size", "step", "value", "name", "multiple", "prompt", "selected", "default", "year", "month", "day", "hour", "minute", "second", "builder", "options", "layout"]
.
Attributes
form
(:any
) - . Defaults tonil
.field
(:atom
) - . Defaults tonil
.label
(:string
) - labels your field. Defaults tonil
.class
(:string
) - extra classes for the text input. Defaults to""
.options
(:list
) - options for the select. Defaults to[]
.layout
(:atom
) - layout for the radio options. Defaults to:col
.rest
(:global
) - Supports all globals plus:["autocomplete", "disabled", "form", "max", "maxlength", "min", "minlength", "pattern", "placeholder", "readonly", "required", "size", "step", "value", "name", "multiple", "prompt", "selected", "default", "year", "month", "day", "hour", "minute", "second", "builder", "options", "layout"]
.
Attributes
form
(:any
) - . Defaults tonil
.field
(:atom
) - . Defaults tonil
.label
(:string
) - labels your field. Defaults tonil
.class
(:string
) - extra classes for the text input. Defaults to""
.rest
(:global
) - Supports all globals plus:["autocomplete", "disabled", "form", "max", "maxlength", "min", "minlength", "pattern", "placeholder", "readonly", "required", "size", "step", "value", "name", "multiple", "prompt", "selected", "default", "year", "month", "day", "hour", "minute", "second", "builder", "options", "layout"]
.
Attributes
form
(:any
) - . Defaults tonil
.field
(:atom
) - . Defaults tonil
.label
(:string
) - labels your field. Defaults tonil
.class
(:string
) - extra classes for the text input. Defaults to""
.rest
(:global
) - Supports all globals plus:["autocomplete", "disabled", "form", "max", "maxlength", "min", "minlength", "pattern", "placeholder", "readonly", "required", "size", "step", "value", "name", "multiple", "prompt", "selected", "default", "year", "month", "day", "hour", "minute", "second", "builder", "options", "layout"]
.
Attributes
form
(:any
) - . Defaults tonil
.field
(:atom
) - . Defaults tonil
.label
(:string
) - labels your field. Defaults tonil
.class
(:string
) - extra classes for the text input. Defaults to""
.options
(:list
) - options for the select. Defaults to[]
.rest
(:global
) - Supports all globals plus:["autocomplete", "disabled", "form", "max", "maxlength", "min", "minlength", "pattern", "placeholder", "readonly", "required", "size", "step", "value", "name", "multiple", "prompt", "selected", "default", "year", "month", "day", "hour", "minute", "second", "builder", "options", "layout"]
.
Attributes
form
(:any
) - . Defaults tonil
.field
(:atom
) - . Defaults tonil
.label
(:string
) - labels your field. Defaults tonil
.class
(:string
) - extra classes for the text input. Defaults to""
.rest
(:global
) - Supports all globals plus:["autocomplete", "disabled", "form", "max", "maxlength", "min", "minlength", "pattern", "placeholder", "readonly", "required", "size", "step", "value", "name", "multiple", "prompt", "selected", "default", "year", "month", "day", "hour", "minute", "second", "builder", "options", "layout"]
.
Attributes
form
(:any
) - . Defaults tonil
.field
(:atom
) - . Defaults tonil
.label
(:string
) - labels your field. Defaults tonil
.class
(:string
) - extra classes for the text input. Defaults to""
.rest
(:global
) - Supports all globals plus:["autocomplete", "disabled", "form", "max", "maxlength", "min", "minlength", "pattern", "placeholder", "readonly", "required", "size", "step", "value", "name", "multiple", "prompt", "selected", "default", "year", "month", "day", "hour", "minute", "second", "builder", "options", "layout"]
.
Attributes
form
(:any
) - . Defaults tonil
.field
(:atom
) - . Defaults tonil
.label
(:string
) - labels your field. Defaults tonil
.class
(:string
) - extra classes for the text input. Defaults to""
.rest
(:global
) - Supports all globals plus:["autocomplete", "disabled", "form", "max", "maxlength", "min", "minlength", "pattern", "placeholder", "readonly", "required", "size", "step", "value", "name", "multiple", "prompt", "selected", "default", "year", "month", "day", "hour", "minute", "second", "builder", "options", "layout"]
.
Attributes
form
(:any
) - . Defaults tonil
.field
(:atom
) - . Defaults tonil
.label
(:string
) - labels your field. Defaults tonil
.class
(:string
) - extra classes for the text input. Defaults to""
.rest
(:global
) - Supports all globals plus:["autocomplete", "disabled", "form", "max", "maxlength", "min", "minlength", "pattern", "placeholder", "readonly", "required", "size", "step", "value", "name", "multiple", "prompt", "selected", "default", "year", "month", "day", "hour", "minute", "second", "builder", "options", "layout"]
.
Attributes
form
(:any
) - . Defaults tonil
.field
(:atom
) - . Defaults tonil
.label
(:string
) - labels your field. Defaults tonil
.class
(:string
) - extra classes for the text input. Defaults to""
.rest
(:global
) - Supports all globals plus:["autocomplete", "disabled", "form", "max", "maxlength", "min", "minlength", "pattern", "placeholder", "readonly", "required", "size", "step", "value", "name", "multiple", "prompt", "selected", "default", "year", "month", "day", "hour", "minute", "second", "builder", "options", "layout"]
.
Attributes
form
(:any
) - . Defaults tonil
.field
(:atom
) - . Defaults tonil
.label
(:string
) - labels your field. Defaults tonil
.class
(:string
) - extra classes for the text input. Defaults to""
.rest
(:global
) - Supports all globals plus:["autocomplete", "disabled", "form", "max", "maxlength", "min", "minlength", "pattern", "placeholder", "readonly", "required", "size", "step", "value", "name", "multiple", "prompt", "selected", "default", "year", "month", "day", "hour", "minute", "second", "builder", "options", "layout"]
.
Attributes
form
(:any
) - . Defaults tonil
.field
(:atom
) - . Defaults tonil
.label
(:string
) - labels your field. Defaults tonil
.class
(:string
) - extra classes for the text input. Defaults to""
.rest
(:global
) - Supports all globals plus:["autocomplete", "disabled", "form", "max", "maxlength", "min", "minlength", "pattern", "placeholder", "readonly", "required", "size", "step", "value", "name", "multiple", "prompt", "selected", "default", "year", "month", "day", "hour", "minute", "second", "builder", "options", "layout"]
.
Link to this section Functions
attributes
Attributes
form
(:any
) - . Defaults tonil
.field
(:atom
) - . Defaults tonil
.label
(:string
) - labels your field. Defaults tonil
.class
(:string
) - extra classes for the text input. Defaults to""
.rest
(:global
) - Supports all globals plus:["checked_value", "unchecked_value", "checked", "hidden_input", "autocomplete", "disabled", "form", "max", "maxlength", "min", "minlength", "pattern", "placeholder", "readonly", "required", "size", "step", "value", "name", "multiple", "prompt", "selected", "default", "year", "month", "day", "hour", "minute", "second", "builder", "options", "layout"]
.
attributes
Attributes
form
(:any
) - . Defaults tonil
.field
(:atom
) - . Defaults tonil
.label
(:string
) - labels your field. Defaults tonil
.class
(:string
) - extra classes for the text input. Defaults to""
.options
(:list
) - options for the select. Defaults to[]
.layout
(:atom
) - layout for the checkboxes. Defaults to:col
.rest
(:global
) - Supports all globals plus:["autocomplete", "disabled", "form", "max", "maxlength", "min", "minlength", "pattern", "placeholder", "readonly", "required", "size", "step", "value", "name", "multiple", "prompt", "selected", "default", "year", "month", "day", "hour", "minute", "second", "builder", "options", "layout"]
.
attributes
Attributes
form
(:any
) - . Defaults tonil
.field
(:atom
) - . Defaults tonil
.label
(:string
) - labels your field. Defaults tonil
.class
(:string
) - extra classes for the text input. Defaults to""
.rest
(:global
) - Supports all globals plus:["autocomplete", "disabled", "form", "max", "maxlength", "min", "minlength", "pattern", "placeholder", "readonly", "required", "size", "step", "value", "name", "multiple", "prompt", "selected", "default", "year", "month", "day", "hour", "minute", "second", "builder", "options", "layout"]
.
attributes
Attributes
form
(:any
) - . Defaults tonil
.field
(:atom
) - . Defaults tonil
.label
(:string
) - labels your field. Defaults tonil
.class
(:string
) - extra classes for the text input. Defaults to""
.rest
(:global
) - Supports all globals plus:["autocomplete", "disabled", "form", "max", "maxlength", "min", "minlength", "pattern", "placeholder", "readonly", "required", "size", "step", "value", "name", "multiple", "prompt", "selected", "default", "year", "month", "day", "hour", "minute", "second", "builder", "options", "layout"]
.
attributes
Attributes
form
(:any
) - . Defaults tonil
.field
(:atom
) - . Defaults tonil
.label
(:string
) - labels your field. Defaults tonil
.class
(:string
) - extra classes for the text input. Defaults to""
.rest
(:global
) - Supports all globals plus:["autocomplete", "disabled", "form", "max", "maxlength", "min", "minlength", "pattern", "placeholder", "readonly", "required", "size", "step", "value", "name", "multiple", "prompt", "selected", "default", "year", "month", "day", "hour", "minute", "second", "builder", "options", "layout"]
.
attributes
Attributes
form
(:any
) - . Defaults tonil
.field
(:atom
) - . Defaults tonil
.label
(:string
) - labels your field. Defaults tonil
.class
(:string
) - extra classes for the text input. Defaults to""
.rest
(:global
) - Supports all globals plus:["autocomplete", "disabled", "form", "max", "maxlength", "min", "minlength", "pattern", "placeholder", "readonly", "required", "size", "step", "value", "name", "multiple", "prompt", "selected", "default", "year", "month", "day", "hour", "minute", "second", "builder", "options", "layout"]
.
attributes
Attributes
form
(:any
) - . Defaults tonil
.field
(:atom
) - . Defaults tonil
.label
(:string
) - labels your field. Defaults tonil
.class
(:string
) - extra classes for the text input. Defaults to""
.rest
(:global
) - Supports all globals plus:["autocomplete", "disabled", "form", "max", "maxlength", "min", "minlength", "pattern", "placeholder", "readonly", "required", "size", "step", "value", "name", "multiple", "prompt", "selected", "default", "year", "month", "day", "hour", "minute", "second", "builder", "options", "layout"]
.
attributes
Attributes
form
(:any
) - . Defaults tonil
.field
(:atom
) - . Defaults tonil
.label
(:string
) - labels your field. Defaults tonil
.class
(:string
) - extra classes for the text input. Defaults to""
.rest
(:global
) - Supports all globals plus:["autocomplete", "disabled", "form", "max", "maxlength", "min", "minlength", "pattern", "placeholder", "readonly", "required", "size", "step", "value", "name", "multiple", "prompt", "selected", "default", "year", "month", "day", "hour", "minute", "second", "builder", "options", "layout"]
.
attributes
Attributes
form
(:any
) - . Defaults tonil
.field
(:atom
) - . Defaults tonil
.label
(:string
) - labels your field. Defaults tonil
.class
(:string
) - extra classes for the text input. Defaults to""
.rest
(:global
) - Supports all globals plus:["autocomplete", "disabled", "form", "max", "maxlength", "min", "minlength", "pattern", "placeholder", "readonly", "required", "size", "step", "value", "name", "multiple", "prompt", "selected", "default", "year", "month", "day", "hour", "minute", "second", "builder", "options", "layout"]
.
Use this when you want to include the label and some margin.
attributes
Attributes
form
(:any
) (required) - the form object.field
(:atom
) (required) - field in changeset / form.label
(:string
) - labels your field. Defaults tonil
.type
(:string
) - The type of input. Defaults to"text_input"
.wrapper_classes
(:string
) - CSS class for wrapper. Defaults to"mb-6"
.rest
(:global
) - Supports all globals plus:["autocomplete", "disabled", "form", "max", "maxlength", "min", "minlength", "pattern", "placeholder", "readonly", "required", "size", "step", "value", "name", "multiple", "prompt", "selected", "default", "year", "month", "day", "hour", "minute", "second", "builder", "options", "layout"]
.
attributes
Attributes
form
(:any
) - . Defaults tonil
.field
(:atom
) - . Defaults tonil
.class
(:string
) - extra classes for the text input. Defaults to""
.
attributes
Attributes
form
(:any
) - . Defaults tonil
.field
(:atom
) - . Defaults tonil
.has_error
(:boolean
) - . Defaults tofalse
.label
(:string
) - labels your field. Defaults tonil
.rest
(:global
)
slots
Slots
inner_block
attributes
Attributes
form
(:any
) - . Defaults tonil
.field
(:atom
) - . Defaults tonil
.label
(:string
) - labels your field. Defaults tonil
.class
(:string
) - extra classes for the text input. Defaults to""
.rest
(:global
) - Supports all globals plus:["autocomplete", "disabled", "form", "max", "maxlength", "min", "minlength", "pattern", "placeholder", "readonly", "required", "size", "step", "value", "name", "multiple", "prompt", "selected", "default", "year", "month", "day", "hour", "minute", "second", "builder", "options", "layout"]
.
attributes
Attributes
form
(:any
) - . Defaults tonil
.field
(:atom
) - . Defaults tonil
.label
(:string
) - labels your field. Defaults tonil
.class
(:string
) - extra classes for the text input. Defaults to""
.rest
(:global
) - Supports all globals plus:["autocomplete", "disabled", "form", "max", "maxlength", "min", "minlength", "pattern", "placeholder", "readonly", "required", "size", "step", "value", "name", "multiple", "prompt", "selected", "default", "year", "month", "day", "hour", "minute", "second", "builder", "options", "layout"]
.
attributes
Attributes
form
(:any
) - . Defaults tonil
.field
(:atom
) - . Defaults tonil
.label
(:string
) - labels your field. Defaults tonil
.class
(:string
) - extra classes for the text input. Defaults to""
.value
(:any
) - the radio value. Defaults tonil
.rest
(:global
) - Supports all globals plus:["autocomplete", "disabled", "form", "max", "maxlength", "min", "minlength", "pattern", "placeholder", "readonly", "required", "size", "step", "value", "name", "multiple", "prompt", "selected", "default", "year", "month", "day", "hour", "minute", "second", "builder", "options", "layout"]
.
attributes
Attributes
form
(:any
) - . Defaults tonil
.field
(:atom
) - . Defaults tonil
.label
(:string
) - labels your field. Defaults tonil
.class
(:string
) - extra classes for the text input. Defaults to""
.options
(:list
) - options for the select. Defaults to[]
.layout
(:atom
) - layout for the radio options. Defaults to:col
.rest
(:global
) - Supports all globals plus:["autocomplete", "disabled", "form", "max", "maxlength", "min", "minlength", "pattern", "placeholder", "readonly", "required", "size", "step", "value", "name", "multiple", "prompt", "selected", "default", "year", "month", "day", "hour", "minute", "second", "builder", "options", "layout"]
.
attributes
Attributes
form
(:any
) - . Defaults tonil
.field
(:atom
) - . Defaults tonil
.label
(:string
) - labels your field. Defaults tonil
.class
(:string
) - extra classes for the text input. Defaults to""
.rest
(:global
) - Supports all globals plus:["autocomplete", "disabled", "form", "max", "maxlength", "min", "minlength", "pattern", "placeholder", "readonly", "required", "size", "step", "value", "name", "multiple", "prompt", "selected", "default", "year", "month", "day", "hour", "minute", "second", "builder", "options", "layout"]
.
attributes
Attributes
form
(:any
) - . Defaults tonil
.field
(:atom
) - . Defaults tonil
.label
(:string
) - labels your field. Defaults tonil
.class
(:string
) - extra classes for the text input. Defaults to""
.rest
(:global
) - Supports all globals plus:["autocomplete", "disabled", "form", "max", "maxlength", "min", "minlength", "pattern", "placeholder", "readonly", "required", "size", "step", "value", "name", "multiple", "prompt", "selected", "default", "year", "month", "day", "hour", "minute", "second", "builder", "options", "layout"]
.
attributes
Attributes
form
(:any
) - . Defaults tonil
.field
(:atom
) - . Defaults tonil
.label
(:string
) - labels your field. Defaults tonil
.class
(:string
) - extra classes for the text input. Defaults to""
.options
(:list
) - options for the select. Defaults to[]
.rest
(:global
) - Supports all globals plus:["autocomplete", "disabled", "form", "max", "maxlength", "min", "minlength", "pattern", "placeholder", "readonly", "required", "size", "step", "value", "name", "multiple", "prompt", "selected", "default", "year", "month", "day", "hour", "minute", "second", "builder", "options", "layout"]
.
attributes
Attributes
form
(:any
) - . Defaults tonil
.field
(:atom
) - . Defaults tonil
.label
(:string
) - labels your field. Defaults tonil
.class
(:string
) - extra classes for the text input. Defaults to""
.rest
(:global
) - Supports all globals plus:["autocomplete", "disabled", "form", "max", "maxlength", "min", "minlength", "pattern", "placeholder", "readonly", "required", "size", "step", "value", "name", "multiple", "prompt", "selected", "default", "year", "month", "day", "hour", "minute", "second", "builder", "options", "layout"]
.
attributes
Attributes
form
(:any
) - . Defaults tonil
.field
(:atom
) - . Defaults tonil
.label
(:string
) - labels your field. Defaults tonil
.class
(:string
) - extra classes for the text input. Defaults to""
.rest
(:global
) - Supports all globals plus:["autocomplete", "disabled", "form", "max", "maxlength", "min", "minlength", "pattern", "placeholder", "readonly", "required", "size", "step", "value", "name", "multiple", "prompt", "selected", "default", "year", "month", "day", "hour", "minute", "second", "builder", "options", "layout"]
.
attributes
Attributes
form
(:any
) - . Defaults tonil
.field
(:atom
) - . Defaults tonil
.label
(:string
) - labels your field. Defaults tonil
.class
(:string
) - extra classes for the text input. Defaults to""
.rest
(:global
) - Supports all globals plus:["autocomplete", "disabled", "form", "max", "maxlength", "min", "minlength", "pattern", "placeholder", "readonly", "required", "size", "step", "value", "name", "multiple", "prompt", "selected", "default", "year", "month", "day", "hour", "minute", "second", "builder", "options", "layout"]
.
attributes
Attributes
form
(:any
) - . Defaults tonil
.field
(:atom
) - . Defaults tonil
.label
(:string
) - labels your field. Defaults tonil
.class
(:string
) - extra classes for the text input. Defaults to""
.rest
(:global
) - Supports all globals plus:["autocomplete", "disabled", "form", "max", "maxlength", "min", "minlength", "pattern", "placeholder", "readonly", "required", "size", "step", "value", "name", "multiple", "prompt", "selected", "default", "year", "month", "day", "hour", "minute", "second", "builder", "options", "layout"]
.
attributes
Attributes
form
(:any
) - . Defaults tonil
.field
(:atom
) - . Defaults tonil
.label
(:string
) - labels your field. Defaults tonil
.class
(:string
) - extra classes for the text input. Defaults to""
.rest
(:global
) - Supports all globals plus:["autocomplete", "disabled", "form", "max", "maxlength", "min", "minlength", "pattern", "placeholder", "readonly", "required", "size", "step", "value", "name", "multiple", "prompt", "selected", "default", "year", "month", "day", "hour", "minute", "second", "builder", "options", "layout"]
.
attributes
Attributes
form
(:any
) - . Defaults tonil
.field
(:atom
) - . Defaults tonil
.label
(:string
) - labels your field. Defaults tonil
.class
(:string
) - extra classes for the text input. Defaults to""
.rest
(:global
) - Supports all globals plus:["autocomplete", "disabled", "form", "max", "maxlength", "min", "minlength", "pattern", "placeholder", "readonly", "required", "size", "step", "value", "name", "multiple", "prompt", "selected", "default", "year", "month", "day", "hour", "minute", "second", "builder", "options", "layout"]
.
attributes
Attributes
form
(:any
) - . Defaults tonil
.field
(:atom
) - . Defaults tonil
.label
(:string
) - labels your field. Defaults tonil
.class
(:string
) - extra classes for the text input. Defaults to""
.rest
(:global
) - Supports all globals plus:["autocomplete", "disabled", "form", "max", "maxlength", "min", "minlength", "pattern", "placeholder", "readonly", "required", "size", "step", "value", "name", "multiple", "prompt", "selected", "default", "year", "month", "day", "hour", "minute", "second", "builder", "options", "layout"]
.