You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched for existing issues that already include this feature request, without success.
Describe the Feature Request
Ion-Datetime calendar I believe lacks a function to disable holidays/specific dates with a label
Describe the Use Case
It would be great to have a way to mark specific dates as disabled not for every month
Describe Preferred Solution
Ion2-calendar can be looked into and a similar daysConfig option can be added which takes an array of objects that have the details to edit a specific date, such as
daysConfig = [
{
date: new Date(2021-10-05),
disabled: true,
cssClass: 'subtitle',
subTitle: 'Govardhan Pooja'
}
]
Describe Alternatives
No response
Related Code
No response
Additional Information
No response
The text was updated successfully, but these errors were encountered:
liamdebeasi
changed the title
feat: ion-datetime calendar should have the feature to disable Holidays/specific dates
feat: datetime disable specific dates
Nov 11, 2021
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.
Prerequisites
Describe the Feature Request
Ion-Datetime calendar I believe lacks a function to disable holidays/specific dates with a label
Describe the Use Case
It would be great to have a way to mark specific dates as disabled not for every month
Describe Preferred Solution
Ion2-calendar can be looked into and a similar daysConfig option can be added which takes an array of objects that have the details to edit a specific date, such as
daysConfig = [
{
date: new Date(2021-10-05),
disabled: true,
cssClass: 'subtitle',
subTitle: 'Govardhan Pooja'
}
]
Describe Alternatives
No response
Related Code
No response
Additional Information
No response
The text was updated successfully, but these errors were encountered: