PrenixComponents.Checkbox (prenix_components v0.1.9)
Summary
Functions
Attributes
name(:any)size(:string) - Defaults to"md".color(:string) - Defaults to"primary".value(:any) (required)id(:string) - Defaults tonil.checked(:boolean) - Defaults tofalse.label_text(:string) - Defaults tonil.helper_text(:string) - Defaults tonil.invalid(:boolean) - Defaults tofalse.disabled(:boolean) - Defaults tofalse.field(Phoenix.HTML.FormField)errors(:list) - Defaults to[].class(:string) - Defaults tonil.label_class(:string) - Defaults tonil.helper_class(:string) - Defaults tonil.checkbox_class(:string) - Defaults tonil.
Slots
labelhelper
Functions
Link to this function
checkbox(assigns)
Attributes
name(:any)size(:string) - Defaults to"md".color(:string) - Defaults to"primary".value(:any) (required)id(:string) - Defaults tonil.checked(:boolean) - Defaults tofalse.label_text(:string) - Defaults tonil.helper_text(:string) - Defaults tonil.invalid(:boolean) - Defaults tofalse.disabled(:boolean) - Defaults tofalse.field(Phoenix.HTML.FormField)errors(:list) - Defaults to[].class(:string) - Defaults tonil.label_class(:string) - Defaults tonil.helper_class(:string) - Defaults tonil.checkbox_class(:string) - Defaults tonil.
Slots
labelhelper