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

Research and example of react-hook-form #25

Open
5 tasks
rpmolina opened this issue Apr 24, 2023 · 0 comments
Open
5 tasks

Research and example of react-hook-form #25

rpmolina opened this issue Apr 24, 2023 · 0 comments
Assignees

Comments

@rpmolina
Copy link
Contributor

rpmolina commented Apr 24, 2023

Describe the feature

When working with complex forms, it is a good idea to use a library that makes it easier for us to manage the states and flows of the forms. For this issue, it is expected to implement an example that will be used as a reference on how to use react-hook-form. taking into account:

  • form error handling.
  • validation handling, using resolvers and validation schemas like zod.
  • handling custom input with controller
  • nested fields.
  • fields with dependencies.

Use Case

The result of this issue is expected to be used as a reference or guide to build a complex form.
Build a template with the necessary configurations to start working without worrying about the setup.

Proposed Solution

  • Create a basic react application using the react vite template using create-awesome-node-app adding the extension with react-hook-form.
  • Place the created app at examples/react-hook-form
  • Add the different features mentioned above to the app

Other Information

No response

Acknowledgements

  • I may be able to implement this feature request
  • This feature might incur a breaking change

Version used

Environment details (OS name and version, etc.)

┆Issue is synchronized with this Clickup task by Unito

@mdominguez56 mdominguez56 self-assigned this May 4, 2023
@ulises-jeremias ulises-jeremias transferred this issue from nanlabs/nancy.js May 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: 🏗 In progress
Development

No branches or pull requests

3 participants