Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

Adding disabled=true on date picker is not disabling the calendar icon

Avatar

Community Advisor

Adding disabled=true on the date picker is not disabling the calendar icon

 

Working fine in 6.5.3

The issue is in 6.5.5

KiranVedantam1992_0-1622652784971.png

Any issue reported related to this?

 

Thanks,

Kiran Vedantam

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi @Kiran_Vedantam 

 

Coral 3 datepicker is not disabling the calendar icon. Switching back to coral 2 fixes the issue. (granite/ui/components/foundation/form/datepicker)

Else you need to write a custom JS which will check if the disabled property is added to field and it will disable the calendar icon.

 

Thanks!

View solution in original post

2 Replies

Avatar

Correct answer by
Community Advisor

Hi @Kiran_Vedantam 

 

Coral 3 datepicker is not disabling the calendar icon. Switching back to coral 2 fixes the issue. (granite/ui/components/foundation/form/datepicker)

Else you need to write a custom JS which will check if the disabled property is added to field and it will disable the calendar icon.

 

Thanks!

Avatar

Community Advisor

Hi @Asutosh_Jena_,

 

Thanks for the input and it works. Any idea on why this is happening so? Any bug created for this for Adobe?

 

CC: @kautuk_sahni 

 

Thanks,

Kiran Vedantam