|
id
|
:any
|
|
|
|
|
name
|
:any
|
|
|
|
|
label
|
:string
|
|
|
|
|
help_text
|
:string
|
|
|
|
|
value
|
:any
|
|
|
|
|
width
|
:string
|
|
"w-full"
|
|
|
type
|
:string
|
|
"text"
|
|
|
field
|
%FormField{}
|
a form field struct retrieved from the form, for example: @form[:email]
|
|
|
|
errors
|
:list
|
|
[]
|
|
|
checked
|
:boolean
|
the checked flag for checkbox inputs
|
|
|
|
prompt
|
:string
|
the prompt for select inputs
|
|
|
|
options
|
:list
|
the options to pass to Phoenix.HTML.Form.options_for_select/2
|
|
|
|
multiple
|
:boolean
|
the multiple flag for select inputs
|
false
|
|
|
rest
|
:global
|
|
|
|
|
class
|
:any
|
|
"text-sm text-gray-900 dark:text-white dark:bg-gray-750 block pl-3.5 py-2.5 border-gray-300 dark:border-gray-800 transition-all duration-150 focus:outline-none focus:ring-3 focus:ring-indigo-500/20 dark:focus:ring-indigo-500/25 focus:border-indigo-500 rounded-md disabled:bg-gray-100 disabled:dark:bg-gray-800 disabled:border-gray-200 disabled:dark:border-gray-800 disabled:text-gray-900/40 disabled:dark:text-white/30 disabled:cursor-not-allowed"
|
|
|
mt?
|
:boolean
|
|
true
|
|
|
max_one_error
|
:boolean
|
|
false
|
|
|
help_content
|
:slot
|
|
|
inner_block
|
:slot
|
|