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
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
version: 7.28.0
I have a code sandbox example
https://codesandbox.io/s/sad-swirles-o1jt40?file=/src/App.tsx
I am using
useController
and I want to create reusable input fields. In my use case the field depends on another field to generate its values.In a form is it possible for me to pass down
control
as a prop to a child input field and expect the form state to include certain fields?I would appreciate any advice for alternative patterns for how to approach the proper typings.
Beta Was this translation helpful? Give feedback.
All reactions