Skip to content
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

How to lower the minimum year limit #254

Open
hamidrabedi opened this issue Jul 26, 2024 · 2 comments
Open

How to lower the minimum year limit #254

hamidrabedi opened this issue Jul 26, 2024 · 2 comments

Comments

@hamidrabedi
Copy link

Sometimes, when entering birth dates, users need to click repeatedly to select a year like 1350. Is there a way to set the year dropdown to display a range of 100 years by default?

image

@mobinghoveoud
Copy link
Contributor

@hamidrabedi

You can use the combination of these settings to change the date range of the calendar:

@slashmili
Copy link
Owner

slashmili commented Oct 22, 2024

While that's a valid point, have you consider giving input text for user to enter their age? that's a best practice for dates like date of birth. source: https://design-system.service.gov.uk/components/date-input/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants