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

DateInput does not use valueFormat setting #249

Open
bufsim opened this issue Apr 20, 2024 · 0 comments
Open

DateInput does not use valueFormat setting #249

bufsim opened this issue Apr 20, 2024 · 0 comments

Comments

@bufsim
Copy link

bufsim commented Apr 20, 2024

HI,
With the DateInput component, by setting valueFormat="DD/MM/YYYY" if I enter the date via keyboard it is not inserted according to the DD/MM/YYYY format. MM/DD/YYYY is entered. Everything is ok if I select the date with the combobox
for example if I write 09/26/1972 and press enter the field will write 02/01/2001. If I write 02/03/2020, in the field it says 03/02/2020
I wrote the same for DatePicker (#131); it was a bug in Mantine v5 at the time, now I think Mantine v7 has the same bug, avoidable by using the dateParser prop to replace the default date parser.
is there a solution for dash mantine?

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

No branches or pull requests

1 participant