modular-forms
modular-forms copied to clipboard
Feature Request : Add the possibility to have a function to set data directly in field
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 !
@fabian-hiller 👋
Thank you for creating this issue. I will probably answer to this in January.
any update on this @fabian-hiller ?
Unfortunately not. The revision of Modular Forms will probably take 2 to 4 months longer than expected. It is a lot of work and at the moment I can only partially focus on the project.