react-hook-form react-datetime onChange won't work

Open
#786 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
javascript, react
Domain
frontend

Research direction

Start by reproducing the reported integration with react-hook-form Controllers and the react-datetime onChange callback. Compare the behavior when reading the value and when invoking onChange; done means the callback works while validation and error handling continue to work.

Written by the indexing model from the issue text.

Description

I tried to use react-hook-form for validation and errors using Controllers. Errors and validation work fine, I can get value, but the onChange function won't work. Please help.

Dominant language
JavaScript
Stars
2k
Forks
858
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from arqex/react-datetime

All issues in arqex/react-datetime

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.