Fixed #1924 - Calendar: the Year is incorrect for Multiple Months mode
parent
5dc11db0c3
commit
08f416207f
|
@ -19,7 +19,7 @@
|
||||||
{{getMonthName(month.month)}}
|
{{getMonthName(month.month)}}
|
||||||
</button>
|
</button>
|
||||||
<button type="button" @click="switchToYearView" @keydown="onContainerButtonKeydown" v-if="currentView !== 'year'" class="p-datepicker-year p-link" :disabled="switchViewButtonDisabled">
|
<button type="button" @click="switchToYearView" @keydown="onContainerButtonKeydown" v-if="currentView !== 'year'" class="p-datepicker-year p-link" :disabled="switchViewButtonDisabled">
|
||||||
{{currentYear}}
|
{{month.year}}
|
||||||
</button>
|
</button>
|
||||||
<span class="p-datepicker-decade" v-if="currentView === 'year'">
|
<span class="p-datepicker-decade" v-if="currentView === 'year'">
|
||||||
<slot name="decade" :years="yearPickerValues">
|
<slot name="decade" :years="yearPickerValues">
|
||||||
|
|
Loading…
Reference in New Issue