-
-
Notifications
You must be signed in to change notification settings - Fork 184
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
Using update() to change custom_classes not working? #104
Comments
I can't confirm this. $('#datepicker').data('Zebra_DatePicker').update({custom_classes: {'test': ['30 12 2017']}}); Now open the first example and inspect day 30 of December 2017. You will see the class |
Thanks, using your example: If the date picker is open and you run If you then run a second time (picker is either shut or open) |
Could not reproduce the first issue. As long as you set the precedence correctly for your CSS (i.e. Also, I fixed second issue, the one where subsequent custom classes were not being applied after one custom class was already applied. Thank you! |
Attempting to use update() to refresh which dates a custom class should be applied. Using something similar to:
The prop is being set in the custom settings, but the UI does not reflect the change.
The text was updated successfully, but these errors were encountered: