Calendar: maxDate with 12-hour-format does not allow minute and second value modification #3356
Labels
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
Describe the bug
If you set the calendar to have a morning (AM) max-date, you cannot modify the minute value of the time on the same day as the max-date. In order to change the minute value on the final day, you must select an earlier day, modify the minute value, then reselect the final day.
Reproducer
https://codesandbox.io/s/hardcore-tamas-451wmf?file=/src/App.vue
PrimeVue version
3.20.0
Vue version
3.x
Language
ES6
Build / Runtime
Vue CLI App
Browser(s)
No response
Steps to reproduce the behavior
Where maxDate is a morning (AM) time
While the selected day is equal to the day portion of the max-date, attempt to change the minute value.
Expected behavior
Minute value can be changed to any value as long as the max-date is not exceeded.
The text was updated successfully, but these errors were encountered: