-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
[BUG] - DatePicker unexpectedly closes when value changes from null to a CalendarDateTime #3898
Comments
any reason to use const [value, setValue] = React.useState<DateValue>();
// ...
<DatePicker value={value} onChange={setValue} /> |
@wingkwong because the component only displays time fields when a This is not related to this issue but a |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
NextUI Version
@nextui-org/[email protected]
Describe the bug
DatePicker component unexpectedly closes when
value
property changes fromnull
to aCalendarDateTime
.Your Example Website or App
No response
Steps to Reproduce the Bug or Issue
I had to do this workaround because there is no way to display the time fields without a default value (feat?)
Expected behavior
DatePicker doesnt closes and time fields appears.
Screenshots or Videos
Operating System Version
Windows
Browser
Chrome
The text was updated successfully, but these errors were encountered: