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

Date range abnormal onChange behaviour #1810

Open
Vin-dellavv opened this issue May 22, 2024 · 1 comment
Open

Date range abnormal onChange behaviour #1810

Vin-dellavv opened this issue May 22, 2024 · 1 comment

Comments

@Vin-dellavv
Copy link

Expectations

After selecting the dates and click on confirm btn, i could save the selected unmodified dates.

Reality

After select startDate and endDate, next click on any element triggers again onChange fn modifying my startDate from dd/MM/yyyy into MM/dd/yyyy.

Steps to Reproduce

Here the sandox codesandbox

  1. Select start date -> 01/05/2024
  2. Select end date -> anything
  3. click on confirm button

Fine Print

  • Version: "@zendeskgarden/react-datepickers": "^8.73.2"
  • Browsers: all
@ze-flo
Copy link
Contributor

ze-flo commented May 23, 2024

I was able to recreate the bug and created a bug ticket. Thanks for bringing it up to our attention!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants