Components
<Toggle />
A toggle input field.


This component is returned by
useForm()
.Props
label : string
The label of the input field.
name : string
The path to the boolean
value of the input field in your form schema.
e.g. "is_active"
, "shipping.is_express"
disabled? : boolean
Whether or not the field should be disabled.
Defaults to false
(not disabled).
Was this page helpful?