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: datetime disable specific dates #24209

Closed
3 tasks done
himanshusukhpal opened this issue Nov 11, 2021 · 2 comments
Closed
3 tasks done

feat: datetime disable specific dates #24209

himanshusukhpal opened this issue Nov 11, 2021 · 2 comments
Labels
package: core @ionic/core package type: feature request a new feature, enhancement, or improvement

Comments

@himanshusukhpal
Copy link

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'
}
]

image

Describe Alternatives

No response

Related Code

No response

Additional Information

No response

@ionitron-bot ionitron-bot bot added the triage label Nov 11, 2021
@liamdebeasi 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
@liamdebeasi liamdebeasi added package: core @ionic/core package type: feature request a new feature, enhancement, or improvement labels Nov 11, 2021
@ionitron-bot ionitron-bot bot removed the triage label Nov 11, 2021
@sean-perkins
Copy link
Contributor

Hello @himanshusukhpal, I am excited to announce that this feature will be available in the upcoming 6.1.0 release 🎉.

@ionitron-bot
Copy link

ionitron-bot bot commented May 12, 2022

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.

@ionitron-bot ionitron-bot bot locked and limited conversation to collaborators May 12, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
package: core @ionic/core package type: feature request a new feature, enhancement, or improvement
Projects
None yet
Development

No branches or pull requests

3 participants