|
id
|
:any
|
|
|
|
|
class
|
:any
|
|
|
|
|
name
|
:string
|
form field name (submits last value in path)
|
|
|
|
field
|
%FormField{}
|
a form field struct retrieved from the form
|
|
|
|
options
|
:list
|
tree of option maps with :value, :label, optional :children, :disabled
|
[]
|
|
|
selected_path
|
:list
|
list of values forming the selected path from root to leaf
|
[]
|
|
|
placeholder
|
:string
|
|
|
|
|
size
|
:string
|
|
"md"
|
|
|
error
|
:boolean
|
|
false
|
|
|
errors
|
:list
|
list of error messages to display
|
[]
|
|
|
disabled
|
:boolean
|
|
false
|
|
|
loading
|
:boolean
|
|
false
|
|
|
searchable
|
:boolean
|
|
false
|
|
|
clearable
|
:boolean
|
|
false
|
|
|
separator
|
:string
|
path separator in display
|
" / "
|
|
|
multiple
|
:boolean
|
enable multi-path selection
|
false
|
|
|
change_on_select
|
:boolean
|
emit change on each level
|
false
|
|
|
expand_trigger
|
:string
|
|
"click"
|
|
|
helper
|
:string
|
helper text displayed below the component
|
|
|
|
rest
|
:global
|
|
|
|