From 80128bbec6225ae648831ad2a2830efbcd520458 Mon Sep 17 00:00:00 2001 From: tugcekucukoglu Date: Wed, 21 Aug 2024 14:44:30 +0300 Subject: [PATCH] Fixed #6250 --- packages/primevue/src/datepicker/DatePicker.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/primevue/src/datepicker/DatePicker.vue b/packages/primevue/src/datepicker/DatePicker.vue index b7bab901c..5ed3748ab 100755 --- a/packages/primevue/src/datepicker/DatePicker.vue +++ b/packages/primevue/src/datepicker/DatePicker.vue @@ -2710,14 +2710,14 @@ export default { for (let i = 0; i < responsiveOptions.length; i++) { let { breakpoint, numMonths } = responsiveOptions[i]; let styles = ` - .p-datepicker[${this.attributeSelector}] .p-datepicker-group:nth-child(${numMonths}) .p-datepicker-next { + .p-datepicker-panel[${this.attributeSelector}] .p-datepicker-calendar:nth-child(${numMonths}) .p-datepicker-next-button { display: inline-flex; } `; for (let j = numMonths; j < this.numberOfMonths; j++) { styles += ` - .p-datepicker[${this.attributeSelector}] .p-datepicker-group:nth-child(${j + 1}) { + .p-datepicker-panel[${this.attributeSelector}] .p-datepicker-calendar:nth-child(${j + 1}) { display: none; } `;