Show/Hide field of Checkbox in touchui aem 6.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,