Closed
Description
Primevue v.2.2.2
Setting the min/max values locks the seconds.
I am working on some very small intervals. I'm glad min/max also restricts time. But I think I found a small error.
If I set min/max the seconds stop working.
Please find the example here: https://jsfiddle.net/FairKing/r83yb9mn/4/
Bellow is the exact code:
<div id="app">
<p-calendar v-model="value" :min-date="min" :max-date="max"
:show-time="true" :show-seconds="true" :show-icon="true"></p-calendar>
</div>
<script>
new Vue({
el: "#app",
components: {
"p-calendar": calendar
},
data: {
value: new Date(2021, 2, 1, 5, 18, 28),
min: new Date(2021, 2, 1, 5, 18, 28),
max: new Date(2021, 2, 1, 5, 19, 07),
},
methods: {
}
})
</script>
Activity