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
Calendar: with showTime and dateFormat, input field doesn't work #6552
Labels
Status: Needs Reproducer
Issue needs a runnable reproducer
Comments
sbasken
added
the
Status: Needs Triage
Issue will be reviewed by Core Team and a relevant label will be added as soon as possible
label
May 2, 2024
Have you tried 10.6.4? Recent changes were made around keyboard entry. |
melloware
added
Status: Needs Reproducer
Issue needs a runnable reproducer
and removed
Status: Needs Triage
Issue will be reviewed by Core Team and a relevant label will be added as soon as possible
labels
May 3, 2024
Please fork the Stackblitz project and create a case demonstrating your bug report. This issue will be closed if no activities in 20 days. |
@melloware we haven't tried 10.6.4 - will do and see if that works, thank you!!! |
10.6.5 is out so try that! |
Thank you @melloware !! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
If I set showTime to true and dateFormat to "MM d, yy", I can't change the input field by typing/ keyboard. It works if one of them is used but when both props are added, it stops working.
I tried changing display value by disabling the dateFormat and creating the function to format the date and use that function (for example: value={formatDate(dateTime)}), it renders blank in the field.
If there is any workaround that I could use and share with me, I'd appreciate it - thanks!
Reproducer
No response
PrimeReact version
10.2.1
React version
18.x
Language
TypeScript
Build / Runtime
Create React App (CRA)
Browser(s)
Chrome Version 124.0.6367.60
Steps to reproduce the behavior
set showTime to true and dateFormat to "MM d, yy" and try changing the value in the input field manually by deleting and typing numbers.
Expected behavior
The selected date and time on the calendar should be updated along with the date and time in the input field.
The text was updated successfully, but these errors were encountered: