This component is returned by useForm().

Props

label
string
required
The label of the input field.
name
string
required
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).