-
Notifications
You must be signed in to change notification settings - Fork 54
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
Date Picker year is empty on dates earlier than 100 years ago #1123
Comments
@joshhanley I accidentally closed this issue while commenting that even with the |
@bzarzuela no worries! I've reopened it |
@calebporzio if people need different dates, I wonder whether we should actually set default min/max values and link this in with them. That way people can set the min/max that suits their applications and the selects and the prev/next buttons all follow the same values? |
It would be great to be able to set the min max year and date with selectable-headers. |
@himanshumehru edit: just saw your issue #1205 so will comment on there |
I've submitted a PR with a fix to dynamically add extra years before/ after if the browsed to year isn't an option in the select. |
Flux version
v2.0.0
Livewire version
v3.5.20
Tailwind version
^4.0.0
What is the problem?
As shown in the docs, when the date is earlier than January 1925, the year disappears.
Code snippets
See live example in the Docs
How do you expect it to work?
Ideally, let us specify the minimum year shown via a min-year or something attribute.
Please confirm (incomplete submissions will not be addressed)
The text was updated successfully, but these errors were encountered: