Open
Description
The objective is to have in Field Return in props value, a function called onData to change directly the data without HTML Event passed.
Exemple :
<Field name="test">
{(field, props) => (
<>
<Switch
{...props}
value={props.value}
onChange={(data: boolean | null) => {
props.onData(data);
}}
/></>
)}
</Field>
Discord Conversation : https://discord.com/channels/722131463138705510/1100520819207184475/1179455802478698636
Thanks !