-
-
Notifications
You must be signed in to change notification settings - Fork 337
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
[Calendar] Add ability to disable specific date(s) #211
Conversation
Could anyone help me to implement popup for message? |
First: Thanks for the PR!, I see, it was a good idea to contact you on twitter 😉
Does at least |
I figured out why CSS-only popup ( Right now, CSS for .ui.calendar .ui.table tr .disabled {
pointer-events: none;
color: @disabledTextColor;
}
I put a workaround for this.
I agree. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Description
Add an option
disabledDates
to the Calendar module.This option should hold an array of
Date
or structured{date: Date, title: string, message: string}
{date: Date, message: string}
.This option allows users to disable the specific date(s) such as national holiday or something like that.
Screenshot
Oct 15, 16 and 27 are disabled.
Oct 27 has CSS-only tooltip to explain why it is disabled.
Closes
#200