Locked datepicker doesn't show the value

arturl43391132

19-08-2019

Hi, Adobe Community

I need to make datepicker (/libs/granite/ui/components/coral/foundation/form/datepicker) to be rollouted from blueprint property in cq:master. But the problem is that then inheritance is activated and locked, the value can not be seen:

1816777_pastedImage_4.png

But when inheritance is cancelled, the value is shown well:

1816832_pastedImage_5.png

The code is the following:

<startTime

   jcr:primaryType="nt:unstructured"

   sling:resourceType="granite/ui/components/coral/foundation/form/datepicker"

   displayedFormat="MMMM DD, YYYY hh:mm a"

   displayTimezoneMessage="{Boolean}true"

   fieldDescription="Description"

   fieldLabel="Available From"

   name="./startTime"

   renderReadOnly="{Boolean}false"

   type="datetime">

  <granite:data

        jcr:primaryType="nt:unstructured"

        cq-msm-lockable="startTime"/>

</startTime>

When field inheritance in activated html content is the following:

<coral-datepicker class="coral-Form-field coral-InputGroup cq-msm-lockable-field is-disabled" data-cq-msm-lockable="startTime" type="datetime" name="./startTime" displayformat="MMMM DD, YYYY hh:mm a" valueformat="YYYY-MM-DD[T]HH:mm:ss.000Z" headerformat="MMMM YYYY" value="2019-08-26T11:22:00.000+03:00" data-foundation-validation="" data-validation="" role="datepicker" aria-disabled="true" aria-invalid="false" aria-readonly="false" aria-required="false" aria-haspopup="true" aria-expanded="false" aria-owns="coral-id-61" disabled="">

<input type="hidden" handle="hiddenInput" value="" name="./settings/eosMigration/startTime" disabled="">

Thanks in advance.

Accepted Solutions (1)

Accepted Solutions (1)

Answers (0)