-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Handling dependent form fields #16
Comments
It's not implemented yet and I don't come up with non convoluted workarounds. I'm thinking about enabling a new attribute in the schema called something like |
Sorry for the delay. After a careful study of the problem, I thought the cleanest way was to update to React Hook Form 7 and intercept react-hook-form Following 1.3.0 release you can use the If you made your own skin or used This implementation is still experimental (even lacks tests), so please, tell me about your experience with it or if you encounter any problems. |
Hi thanks for your response. This surely helps. Does setting field visibility If not, does the lib currently provide any other helpers to add/remove formFields dynamically |
Hello and thanks to you! Following It doesn't remove the field from the state but hides its value while coercing (always done when submitting). |
Is there a way to handle dependent form fields?
Examples:
Any suggestions or workarounds?
The text was updated successfully, but these errors were encountered: