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 new options #7

Merged
merged 1 commit into from
Apr 2, 2023
Merged

Add new options #7

merged 1 commit into from
Apr 2, 2023

Conversation

JoaoGFdev
Copy link
Contributor

The todayBtnText and clearBtnText properties allow the user to customize the text displayed on the "Today" and "Clear" buttons, respectively. This can be useful if the default text is not appropriate for the user's specific use case.

The weekDays property allows the user to customize the labels for the days of the week displayed in the datepicker. This is particularly useful for internationalization and localization purposes, as different languages may have different labels for the days of the week.

Overall, these changes provide greater flexibility and customization options for users of the library. The new properties are optional, so users who do not need to customize these aspects of the datepicker can continue to use the library without any changes.

@OMikkel
Copy link
Owner

OMikkel commented Apr 2, 2023

Good idea I like it
The PR has been merged :)

@OMikkel OMikkel merged commit 98b5665 into OMikkel:master Apr 2, 2023
@FelixZY
Copy link

FelixZY commented Apr 12, 2023

@OMikkel any idea when we can see this released to npm? Our website is multilingual and would really need this PR.

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.

3 participants