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

If "today" is disabled it should still have the class "today" #416

Closed
matthias-schott opened this issue Nov 18, 2016 · 1 comment
Closed

Comments

@matthias-schott
Copy link

I'm creating an appointment form. In this form it is not possible to select the current date. However, it would be nice to give the user a visual feedback which day the current day is. As far as I can see, that's quite difficult as the classes for a disabled "today" do not differ from any other disabled date.

Expected Behavior

Keep the css-class "today" for todays date, even if it is disabled as a selectable date

Current Behavior

If "today" is disabled as a selectable date, the css-class "today" is removed of the element.

Possible Solution

Just don't remove the "today" css-class.

Steps to Reproduce (for bugs)

Set the minDate to tomorrow

@chmln chmln closed this as completed in 86d6487 Nov 18, 2016
@Nonag
Copy link

Nonag commented Nov 18, 2016

Thank you for that fast fix!
It's a pleasure to use this magnificent plugin ;)

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

No branches or pull requests

2 participants