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 would suggest you do something similar to the disabled dates functionality, and instead of adding the "disabled" class to the date, add an "special-day" class.
Here: https://github.com/chmartinez/angular-pickadate. Take a look and tell me if it fits your needs. Hope it helps!
Activity
chmartinez commentedon Oct 22, 2015
I would suggest you do something similar to the disabled dates functionality, and instead of adding the "disabled" class to the date, add an "special-day" class.
Here: https://github.com/chmartinez/angular-pickadate. Take a look and tell me if it fits your needs. Hope it helps!
sbluday commentedon Nov 16, 2016
@chmartinez Your fork doesn't adding the
special-dayclasssbluday commentedon Nov 16, 2016
@chmartinez Worked in non-minified version. Weird. Idk. Have to check.
mpospelov commentedon Nov 16, 2016
Hello.
I created the functionality suitable for this case
https://github.com/mpospelov/angular-pickadate/commit/45041e24cb43991f8deedafbf9fb950861cda8d5
Here you can check the commit. I can create PR if you want.
It's just allows to put custom function which will accept a day and return the array of classes. Check the tests for more details
chmartinez commentedon Nov 16, 2016
+1. Waay cleaner than my version. Thanks @mpospelov