Posted 26 November 2018, 7:42 am EST
Hi,
We have used Wijmo 5.20171.282 version.
I have list of holiday dates. So I want to disable those dates in “wj-input-date” control.
Do you have any samples for this?
Thanks,
Ramu
Forums Home / Wijmo / General Discussion
Posted by: ramu on 26 November 2018, 7:42 am EST
Posted 26 November 2018, 7:42 am EST
Hi,
We have used Wijmo 5.20171.282 version.
I have list of holiday dates. So I want to disable those dates in “wj-input-date” control.
Do you have any samples for this?
Thanks,
Ramu
Posted 27 November 2018, 2:29 am EST
Hi, you may set itemValidator property of inputDate to disable required dates.
Please refer to the following sample: https://stackblitz.com/edit/angular-9vpkfq?file=src%2Fapp%2Fapp.component.html
More about itemValidator: https://demos.wijmo.com/5/Angular/WijmoHelp/WijmoHelp/topic/wijmo.input.InputDate.Class.html#itemValidator
~Sharad