react-datepicker icon indicating copy to clipboard operation
react-datepicker copied to clipboard

Typing the end date when using single datepicker doesnt work

Open yurirpgarcia opened this issue 3 years ago • 3 comments

Describe the bug When using a single datepicker and selectsRange, typing just updates startDate.

To Reproduce

  1. Use a single datepicker with selectsRange.
  2. Type both the start and end dates.
  3. Focus out of the field.
  4. Start date will update and end date wont.

Expected behavior I expected that both start and end dates would update.

Screenshots typing end date does not work

Desktop (please complete the following information):

  • OS: MacOS
  • Browser: Chrome
  • Version: 101.0.4951.64 (x86_64)

Additional context I've reproduced this in my app and in the docs page.

yurirpgarcia avatar May 18 '22 20:05 yurirpgarcia

Any updates here?

@yurirpgarcia did you manage to solve this problem?

alikinvv avatar Sep 05 '22 17:09 alikinvv

Actually no. I didnt look any further, so I ended up using another lib.

yurirpgarcia avatar Sep 16 '22 19:09 yurirpgarcia