Hello. I don't quite understand where or how I can add states in the component forms that I will be using, for example isRequired, etc.
SwitchFieldForm
<SwitchFieldForm
control={{
label: 'Pinging',
description: 'Toggle the role pinging when a new fruit stock has arrived'
}}
controller={{
control,
name: 'ping_toggle',
}}
/>
Again, using the provided code above, how or where should I add the states that I want to use in the form? Thank you!
Hello. I don't quite understand where or how I can add states in the component forms that I will be using, for example
isRequired
, etc.SwitchFieldForm
Again, using the provided code above, how or where should I add the states that I want to use in the form? Thank you!