react-stately/datepicker returning undefined values, not handling empty time inputs #4065
laurenhesterman
started this conversation in
General
Replies: 1 comment 2 replies
-
Any chance you could provide a codesandbox demonstrating the issue? Here's a starter template https://codesandbox.io/s/spring-lake-gocqmp |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, I am using the 'react-stately/datepicker library to manage state with my datepicker in my project. Every time the user backspaces/deletes the start or end time input (i.e. end time input is blank) the website crashes before they can type in a new value, and it seems to be coming from the 'useDateRangePickerState' function returning undefined values when it shouldn't.
Beta Was this translation helpful? Give feedback.
All reactions