Is there way to grey out some dates from AEM forms datepicker
I am trying to disable/grey out public holidays and weekends in AEM forms datepicker. I am trying to add the code on the initialize method. Any snippets
I am trying to disable/grey out public holidays and weekends in AEM forms datepicker. I am trying to add the code on the initialize method. Any snippets
@harshv7973321 : I think, this cannot be achieve through AEM datepicker component.
<input type="date" id="${guideid}${"_widget"}" name="${guide:encodeForHtmlAttr(guideField.name,xssAPI)}"
value="${guide:encodeForHtmlAttr(guideField.value,xssAPI)}" style="${guide:encodeForHtmlAttr(guideField.widgetInlineStyles,xssAPI)}"
min="${guide:encodeForHtmlAttr(guideField.minimumDate,xssAPI)}"
max="${guide:encodeForHtmlAttr(guideField.maximumDate,xssAPI)}"/>
we can pass only min and max .
If you still need to achieve , then you can try to implement customized datepicker for your use case.
Thanks,
Siva
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.