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 few more dynamic config support for non-native date picker #2982

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

justwellsolets
Copy link

This pull request addresses the issues #1548 and #1546

Overview:
This pull request introduces dynamic configuration options for enhancing the Flatpickr library's non-native date picker. It empowers users to customize their date picker experience with greater flexibility.

Features Added:
Added dynamic config support for below properties:

monthSelectorType: Allows users to define the month selector type for better navigation.
allowInput: Enables/disables the manual input of dates.
enableTime, time_24hr, enableSeconds: Allows time-related configurations for precision.
weekNumbers: Adds support for displaying week numbers in the date picker.

Implementation Details:
The implementation involved extending the configuration options within the Flatpickr library, enabling the specified properties to accept dynamic changes based on user preferences.

Note:
Dynamic configuration currently doesn't support the native date time picker.

Benefits:
These dynamic configurations empower users to tailor their date picker according to their specific needs, enhancing usability and flexibility in diverse applications.

Request for Feedback:
Feedback from the maintainers and community contributors is welcomed for further refinement and improvement.

Thank you for considering this enhancement!

@gethari
Copy link

gethari commented Jan 29, 2024

@chmln any chance of merging this please ?

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

Successfully merging this pull request may close these issues.

None yet

2 participants