-
-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
Update the date without selecting/clicking a day #2811
Comments
Hello, please try the following configuration and let me know if this meets your needs. {
display: {
components: {
clock: false,
date: false
}
},
localization: {
format: 'yy/MM'
}
} |
Hello and thank you for your response! Unfortunatelly this did not help solving my problem. How it is now: What I want: Thank you again and sorry for not being clear enough about it the first time. |
Hi 6.7.13 should be released shortly to solve this. |
Thank you! Very great work! |
This should DEFINITELY be optional. This is not standard or expected behaviour with datepickers. Just spent good three hours figuring out why my dates are changing when i am just clicking around, i was even trying to .setValue(event.details.oldDate) if modeView was !== 'calendar' etc. to fix this. Not everybody wants this and i suggest adding something like |
I had to revert this. Sorry @Antoniafriedrich. This also broke multidates. |
Prerequisites
Proposal
I am able to select "YY", "YY/MM" or any other format that do not feature day in it.
However, regardless of format my datetime value in the input field does not update unless I select the day.
When selecting time, the values for hours, minutes and seconds update in my formfield in real time and not only when you select the smallest value. This function should exist for date as well.
Motivation and context
This function is usefull for formats that have no day component as well as for formats that do have a day component.
Users might accidently select an incorrect month or year in their selection but not notice until their date selection is complete. If they attempt to go back and select a different month, they might not select a day again, because the day was already correctly selected. They would expect the form to automatically update with the new selection even without selecting a day. In that case they would unknowingly submit an inaccurate date, if they do not double check.
The text was updated successfully, but these errors were encountered: