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

feat: add a new methods isYearDisabled, isMonthDisabled for disabling unavailable months, year #140

Conversation

mystica2000
Copy link
Contributor

Intent

Allow disabling of the year and month selection when they are restricted/unavailable via minDate and maxDate.

Proposed changes

Created two new Utils for isMonthDisabled and isYearDisabled check similar to date's isDateDisabled

Demo (in the example app comments - minDate,maxDate):

final

Does this introduce a breaking change?

  • Yes
  • No

closes:

#118
#108

@farhoudshapouran
Copy link
Owner

Thanks, this is a great enhancement, could you make this PR compatible with v3 and resolve the conflicts?

@mystica2000 mystica2000 force-pushed the feat/disable-month-year-selection branch from 31c4d0a to 282d132 Compare February 19, 2025 10:35
@mystica2000
Copy link
Contributor Author

compatible with v3 and resolved conflicts via rebase

cc @farhoudshapouran

@farhoudshapouran farhoudshapouran merged commit 398ae6a into farhoudshapouran:main Feb 20, 2025
0 of 2 checks passed
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.

2 participants