Skip to content

Conversation

eitoball
Copy link

@eitoball eitoball commented Nov 17, 2021

What problem is this solving?

It seems than react-hook-form v4.x doesn't handle number or integer values well. For example, radio button with integer value always fails with __form_error_notInteger__. Updating react-hook-form seems to solve this problem.

The latest of react-hook-form is 7.x, but updating to version 7 from version 4 seems to be too much work. So, I decided to update to 6.x first.

Checklist/Reminders

  • Updated README.md.
  • Updated CHANGELOG.md.
  • Linked this PR to a Clubhouse story (if applicable).
  • Updated/created tests (important for bug fixes).
  • Deleted the workspace after merging this PR (if applicable).

Example usage

Type of changes

✔️ Type of Change
_ Bug fix
_ New feature
✔️ Breaking change
✔️ Technical improvements

Notes

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

Successfully merging this pull request may close these issues.

2 participants