-
-
Notifications
You must be signed in to change notification settings - Fork 167
weekNumberClickable on DatePicker does not trigger event #1600
Copy link
Copy link
Open
Description
Overview of the problem
Oruga version: 0.11.6
Vuejs version: 3
OS/Browser: Windows / Chrome
Description
When using the DatePicker with the property weekNumberClickable, I can see the cursor modified to pointer but nothing happens when clicking : I was expecting the week to be selected and/or an event to be sent.
Expected behavior
From the code https://github.com/oruga-ui/oruga/blob/89502f9ccb8bbdfcd5e946710f093507e24fc286/packages/oruga/src/components/datepicker/DatepickerTableRow.vue, I was expecting to receive an event "week-number-click".
Actual behavior
No event is sent. Nothing appears on the calendar.
Steps to reproduce
Add a datepicker in a vue :
<o-datepicker :showWeekNumber="true" :weekNumberClickable="true" @week-number-click="console.log('week clicked')" ></o-datepicker>
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
