|
id
|
:any
|
|
|
|
|
class
|
:any
|
|
|
|
|
name
|
:string
|
|
|
|
|
value
|
:string
|
selected value (string or JSON array for multiple)
|
|
|
|
field
|
%FormField{}
|
a form field struct retrieved from the form
|
|
|
|
options
|
:list
|
list of option maps with :value, :label keys
|
[]
|
|
|
multiple
|
:boolean
|
|
false
|
|
|
disabled
|
:boolean
|
|
false
|
|
|
clearable
|
:boolean
|
|
false
|
|
|
placeholder
|
:string
|
|
|
|
|
loading
|
:boolean
|
|
false
|
|
|
no_results_text
|
:string
|
text shown when no options match
|
"No results found"
|
|
|
size
|
:string
|
|
"md"
|
|
|
error
|
:boolean
|
|
false
|
|
|
errors
|
:list
|
list of error messages to display
|
[]
|
|
|
helper
|
:string
|
helper text displayed below the component
|
|
|
|
rest
|
:global
|
|
|
|