ui icon indicating copy to clipboard operation
ui copied to clipboard

Year selection for the date picker component

Open elielgomes opened this issue 2 years ago • 6 comments

image

It is not possible to easily and quickly select previous years; to do so, we must paginate through all previous months until reaching the desired year. I suggest adding a year-select dropdown or an open field for this purpose.

elielgomes avatar Nov 22 '23 15:11 elielgomes

@shadcn let's add this future in date picker

nahidhasan141400 avatar Nov 23 '23 10:11 nahidhasan141400

up, this is good idea

triadmoko avatar Nov 23 '23 11:11 triadmoko

Agreed on this and another potential solution to this would be #448. This issue may be marked as duplicate of that.

itsmingjie avatar Nov 24 '23 02:11 itsmingjie

@itsmingjie The provided solution is not optimized and does not improve usability; it addresses the problem but not with 100% effectiveness.

elielgomes avatar Nov 27 '23 17:11 elielgomes

I found this prop captionLayout={'dropdown'} which give you option to select month and year

itsmanoharkumar avatar Jan 25 '24 23:01 itsmanoharkumar

I found this prop captionLayout={'dropdown'} which give you option to select month and year

Are the curly braces necessary?

CesarQD98 avatar Feb 08 '24 06:02 CesarQD98

This issue has been automatically closed because it received no activity for a while. If you think it was closed by accident, please leave a comment. Thank you.

shadcn avatar Mar 02 '24 23:03 shadcn