Refactor #5681 - For DatePicker

pull/5701/head
tugcekucukoglu 2024-05-07 11:20:31 +03:00
parent 45bb31a7d3
commit f046eccda9
2 changed files with 2 additions and 2 deletions

View File

@ -43,7 +43,7 @@
v-bind="ptm('dropdown')"
>
<slot name="dropdownicon" :class="icon">
<component :is="icon ? 'span' : 'CalendarIcon'" :class="icon" v-bind="ptm('dropdownButtonIcon')" />
<component :is="icon ? 'span' : 'CalendarIcon'" :class="icon" v-bind="ptm('dropdownIcon')" />
</slot>
</button>
</slot>

View File

@ -375,7 +375,7 @@ const classes = {
dayView: 'p-datepicker-day-view',
weekHeader: 'p-datepicker-weekheader p-disabled',
weekNumber: 'p-datepicker-weeknumber',
weekLabelContainer: 'p-disabled', //TODO:
weekLabelContainer: 'p-disabled',
weekDayCell: 'p-datepicker-weekday-cell',
weekDay: 'p-date-picker-weekday',
dayCell: ({ date }) => ['p-datepicker-day-cell', { 'p-datepicker-other-month': date.otherMonth, 'p-datepicker-today': date.today }],