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

Dates does not becomes dirty #3416

Closed
webartoli opened this issue Nov 10, 2020 · 0 comments
Closed

Dates does not becomes dirty #3416

webartoli opened this issue Nov 10, 2020 · 0 comments
Labels
bug Something isn't working

Comments

@webartoli
Copy link

Describe the bug
Changes on date field make the form dirty but are not listed on dirtyFields props

To Reproduce

  1. Send form (form is not dirty)
  2. Change BirthDate Value
  3. Send form (form is dirty but no field seems dirty)
  4. See logs on console

Codesandbox link (Required)
https://codesandbox.io/s/react-hook-form-controller-template-ok-5iy6b?file=/src/index.js

Expected behavior
dirtyFields should contains {BirthDate: true}

Desktop (please complete the following information):

  • OS: Windows 10
  • Browser: Chrome
  • Version 86

Additional context
In addition, The first form submit does not trigger any form dirty status

@bluebill1049 bluebill1049 added status: under investigation aware of this issue and pending for investigation bug Something isn't working labels Nov 10, 2020
bluebill1049 added a commit that referenced this issue Nov 11, 2020
@bluebill1049 bluebill1049 removed the status: under investigation aware of this issue and pending for investigation label Jan 24, 2021
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 13, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants