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

Form error messages for each Input #291

Open
Mi-Lan opened this issue Jan 22, 2023 · 0 comments
Open

Form error messages for each Input #291

Mi-Lan opened this issue Jan 22, 2023 · 0 comments
Assignees

Comments

@Mi-Lan
Copy link
Collaborator

Mi-Lan commented Jan 22, 2023

  • Currently when user inputs wrong value we just display red outline on the field
    Screenshot 2023-01-22 at 23 27 51
  • We should add custom messages for each input informing user how to correctly fill the form

Reach hook form provides some really good tools for this https://react-hook-form.com/api/useformstate/errormessage

To do:

  1. App refactor of the yup implementation to support messages @Mi-Lan
  2. Card validation refactor to support messages @bejzik8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants