slashmili / django-jalali

Jalali DateField support for Django model
http://pypi.python.org/pypi/django_jalali
BSD 3-Clause "New" or "Revised" License
256 stars 53 forks source link

How to lower the minimum year limit #254

Open hamidrabedi opened 3 months ago

hamidrabedi commented 3 months ago

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 commented 3 weeks ago

@hamidrabedi

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

slashmili commented 3 weeks ago

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/