Calendar in timeonly mode ignores minDate, maxDate #1716
Labels
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
vue2-portable
Milestone
What is the motivation / use case for changing the behavior?
I have a Calendar component in timeonly mode.
I added minDate and maxDate, so you can only enter times between those two values.
CodeSandbox examples
https://codesandbox.io/s/calendar-time-input-wru8y?file=/src/CalendarDemo.vue
I've added two examples in codesandbox.
Example 1
Example 1 has an initial value set, that is within the allowed timespan.
Expected Behaviour:
Current behavior:
Notice: It's working correctly, if I use the buttons of the popup.
Example 2
Example 2 does not have an initial value.
Expected Behaviour:
Current behavior:
Vue version: 3.2.20
PrimeVue version: 3.8.2
The text was updated successfully, but these errors were encountered: