Expand my Community achievements bar.

Radically easy to access on brand approved content for distribution and omnichannel performant delivery. AEM Assets Content Hub and Dynamic Media with OpenAPI capabilities is now GA.
SOLVED

Show/Hide field of Checkbox in touchui aem 6.2

Avatar

Level 2

Hi guys,
I am working in touch ui aem 6.2.
i have a issue: show/hide field of checkbox not work

<showhide

     jcr:primaryType="nt:unstructured"

     sling:resourceType="granite/ui/components/foundation/form/checkbox"

     text="Do you want to show field?"

     value="true"

     class="showhide"

     name="./isShowField"

     showhide-target=".showhide-field" />

<content

     jcr:primaryType="nt:unstructured"

     sling:resourceType="granite/ui/components/foundation/container"

     class="showhide-field"

     showhide-target-value="true">

     <items jcr:primaryType="nt:unstructured">


     </items>       

</content>  


Why does it not work?
Can anybody help me?

Thanks,

1 Accepted Solution

Avatar

Correct answer by
Administrator
2 Replies

Avatar

Correct answer by
Administrator