|
id
|
:any
|
|
|
|
|
name
|
:any
|
HTML name attribute for form submission
|
|
|
|
value
|
:any
|
|
|
|
|
field
|
%FormField{}
|
a form field struct retrieved from the form
|
|
|
|
label
|
:string
|
text label displayed above the slider
|
|
|
|
min
|
:integer
|
|
0
|
|
|
max
|
:integer
|
|
100
|
|
|
step
|
:integer
|
step increment between values
|
1
|
|
|
color
|
:string
|
|
"primary"
|
|
|
helper
|
:string
|
helper text displayed below the slider
|
|
|
|
errors
|
:list
|
list of error messages to display
|
[]
|
|
|
size
|
:string
|
|
"md"
|
|
|
disabled
|
:boolean
|
|
false
|
|
|
horizontal
|
:boolean
|
horizontal layout (label beside input)
|
false
|
|
|
state
|
:string
|
validation state (applies form-group-success/warning)
|
|
|
|
vertical
|
:boolean
|
render as a vertical slider
|
false
|
|
|
show_value
|
:boolean
|
show the current value and min/max labels
|
true
|
|
|
class
|
:any
|
additional CSS classes for the wrapper
|
|
|
|
label_class
|
:any
|
additional CSS classes for the label
|
|
|
|
slider_class
|
:any
|
additional CSS classes for the range input
|
|
|
|
rest
|
:global
|
|
|
|