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

Add a property to set the default month view in the DatePicker when no value is selected #3710

Open
Behfar90 opened this issue Dec 19, 2024 · 0 comments

Comments

@Behfar90
Copy link

Currently, the datepicker always defaults to displaying the current month with today's date highlighted when no value has been selected. While this behavior works for many use cases, it would be beneficial to have a property that allows developers to control the initial month displayed when the picker is opened and no date value is pre-filled.

For example:

If today's date is December 19, clicking the picker shows December by default.
A new property (e.g., defaultMonth) could enable the picker to open on a different month, such as January or any other specified month, improving flexibility for applications where the current month isn't the most relevant.
This feature would enhance usability for scenarios where users are more likely to select dates outside the current month, streamlining their interaction with the component.

Thank you for considering this enhancement!

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

No branches or pull requests

1 participant