-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[YearPicker] Allows to revers year order #6759
Comments
About birthdays, pickers are not the best options. We have an issue on this topic if you're interested in: #5021 I tried to do a CSS revert, but it's breaking the keyboard navigation. The modification will have to be done by a prop in the |
In the last versions, I think we are automatically scrolling to today's year, which solves this part of the problem. |
@alexfauquette thx for the comment. After reading this seems like a good idea to me to just change to 3 inputs 😅 @flaviendelangle I think this feature doesn't work very well. |
In which case do you have a selected year that is not selectable ? |
@flaviendelangle In the example above i have
Which I think will via |
This is already possible with the |
This issue has been closed. If you have a similar problem but not exactly the same, please open a new issue. Note @sakulstra How did we do? Your experience with our support team matters to us. If you have a moment, please share your thoughts in this short Support Satisfaction survey. |
Duplicates
Latest version
Summary 💡
It would be great if i was able to render years in the opposite direction (new to old).
Examples 🌈
In an app i'm currently working on we need peoples birthday, and expect them to be between 18 and 90 years old.
When setting DatePicker
minDate
andmaxDate
accordingly the input will render sth likeWhich is a bit weird as I'd expect the sorting to be the other way around.
Therefore it would be nice if i could supply a flag or add some custom behavior for the Year selection.
On a sidenote, when selecting sth like a "birthday", there's not really any need for a DateLibrary, as the output date is not a "real date" bot more of a time-zone unaware string. I think there's no way to actually use this ui component without a date library, but would be good if there was.
Motivation 🔦
Currently this input is confusing for users as they have to scroll a lot.
Order ID 💳 (optional)
No response
The text was updated successfully, but these errors were encountered: