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

Additional Form Support #1373

Open
mlaursen opened this issue Mar 9, 2022 · 0 comments
Open

Additional Form Support #1373

mlaursen opened this issue Mar 9, 2022 · 0 comments

Comments

@mlaursen
Copy link
Owner

mlaursen commented Mar 9, 2022

I'm creating this issue just to remind myself to implement this along with the select changes.

Description

Since I've added new form hooks like useTextField and useNumberField, it would be nice to implement hooks for the other form components to be safe. The main reason for this would be that I can do some nice things with the existing Form component:

  • update the onReset call to automatically call the reset() function for all the hooks
  • update onReset to call event.preventDefault() to fix Checkbox state messing up a bit
  • any other thoughts that come up
@mlaursen mlaursen added this to the v6.0.0 milestone Jun 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant