DatePicker with Popover [enabling shadcn styling for months/years dropdown menu] #1553
-
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 9 replies
-
#1680 may help ;) |
Beta Was this translation helpful? Give feedback.
-
try this one |
Beta Was this translation helpful? Give feedback.
-
I suggest a more convenient behavior: you can use the mouse wheel directly on the date, or select the period (months from/to and years from/to) inside the popup window. |
Beta Was this translation helpful? Give feedback.
-
there is a bug. @auzeonfung code all seems to work fine, but after selecting the month and year from the dropdown then the day, it works to populate my field however if you try go back then it doesnt seem to use the values to re select the correct month and year from the dropdowns. however i think this is a general issue with the Celender component an not the implementation by @auzeonfung anyone having similar problem |
Beta Was this translation helpful? Give feedback.
Need to wait for someone with access to pass pr before merging it into the main stream, it takes time, they are all busy after all...
For what it's worth, the easiest way to do this is to copy and paste.
I hope this helps.
Usage