Skip to content
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

Allow useCondition() to use useFormContext instead of getValues & control params #5

Open
micah-redwood opened this issue Oct 10, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@micah-redwood
Copy link

It'd be great if useCondition() would just get control and getValues from context if they aren't passed in. Would make the code less verbose.

@micahjon micahjon changed the title Allow useCondition() to be used with control / getValues (in useFormContext) Allow useCondition() to use useFormContext instead of getValues & control params Oct 13, 2024
@micahjon micahjon added enhancement New feature or request on-roadmap labels Oct 13, 2024
@micahjon micahjon self-assigned this Oct 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants