You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Yes. I have a complicated form with many tabs and parts of it edit the config of something and other parts edit the state of it / some construct that is related to but is not the config. Editing / changing each part is its own endpoint and they are also quite different so I cannot really do one form for both (they do share some data / structures though). The problem is that some data is needed in both. Would be cool if we'd be able to bind an input or fieldArray to multiple forms so editing it would update it in both.
Describe the solution you'd like
A way to register an input / fieldArray to multiple forms perhaps with direct support in the register function or some helper that merges / reuses the refs or idk really.
Describe alternatives you've considered
Duplicated hidden inputs with useEffect or onChange data forwarding but it's hacky and ugly.
Additional context
Ask if needed.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
Yes. I have a complicated form with many tabs and parts of it edit the config of something and other parts edit the state of it / some construct that is related to but is not the config. Editing / changing each part is its own endpoint and they are also quite different so I cannot really do one form for both (they do share some data / structures though). The problem is that some data is needed in both. Would be cool if we'd be able to bind an input or fieldArray to multiple forms so editing it would update it in both.
Describe the solution you'd like
A way to register an input / fieldArray to multiple forms perhaps with direct support in the register function or some helper that merges / reuses the refs or idk really.
Describe alternatives you've considered
Duplicated hidden inputs with useEffect or onChange data forwarding but it's hacky and ugly.
Additional context
Ask if needed.
The text was updated successfully, but these errors were encountered: