Closed
Description
Describe the bug
The allowed-dates property works fine as it does not let me select any disallowed dates but the styling within year-picker is still allowing it to be picked before being selected, and without any attributes that indicates which values are disabled, this cannot be easily rectify with simple CSS.
To Reproduce
Put both the year-picker
props with allowed-dates
.
<Datepicker v-model="date" year-picker :allowed-dates="['2024']" />
This can be easily replicated within the playground and any other machine without any further adjustment.
Expected behavior
The datepicker correctly stylized disabled values and does not let me pick them for selection.
Desktop & mobile (please complete the following information):
- Browser [Firefox]
- Library version [^8.8.1]