Adding disabled=true on date picker is not disabling the calendar icon | Community
Skip to main content
Kiran_Vedantam
New Participant
Jun 2, 2021 4:53 PM UTC
Solved

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

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.
Asutosh_Jena_
Asutosh_Jena_Accepted solution
New Participant
Jun 3, 2021 1:56 AM UTC

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!

2 replies

Asutosh_Jena_
Asutosh_Jena_Accepted solution
New Participant
Jun 3, 2021 1:56 AM UTC

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!

Translate
Kiran_Vedantam
New Participant
Jun 3, 2021 3:04 PM UTC

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

Translate