Adding disabled=true on date picker is not disabling the calendar icon | Community
Skip to main content
Kiran_Vedantam
Community Advisor
Community Advisor
June 2, 2021
Solved

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

  • June 2, 2021
  • 1 reply
  • 1711 views

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

Any issue reported related to this?

 

Thanks,

Kiran Vedantam

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Asutosh_Jena_

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!

1 reply

Asutosh_Jena_
Community Advisor
Asutosh_Jena_Community AdvisorAccepted solution
Community Advisor
June 3, 2021

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!

Kiran_Vedantam
Community Advisor
Community Advisor
June 3, 2021

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