We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
This works as expected when cellType is "day" but not for "month" or "year":
new AirDatepicker("#picker", { onRenderCell: ({date, cellType}) => { const disabled = (date.getFullYear() != 2023); return { disabled }; }, })
Specifically, I expected all months to be disabled in the month view when year != 2023, and all years except 2023 to be disabled in the year view.
Here is a jsFiddle demonstrating the problem with v3.5.3.
The text was updated successfully, but these errors were encountered:
Hi! thanks for the bug report, I'll check
Sorry, something went wrong.
No branches or pull requests
This works as expected when cellType is "day" but not for "month" or "year":
Specifically, I expected all months to be disabled in the month view when year != 2023, and all years except 2023 to be disabled in the year view.
Here is a jsFiddle demonstrating the problem with v3.5.3.
The text was updated successfully, but these errors were encountered: