Show/Hide Checkbox is not working
<enableCollasableText
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/foundation/form/checkbox"
class="cq-dialog-checkbox-showhide"
cq-dialog-checkbox-showhide-target=".button-option-enable-showhide-target-three"
name="./show"
text="Show Below Conatiner"
uncheckedValue="false"
value="true"/>
<collasableTextContainer
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/foundation/container"
class="hidden button-option-enable-showhide-target-three"
showhidetargetvalue="true">
<items jcr:primaryType="nt:unstructured">
<showFirstName
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/form/textfield"
fieldLabel="First Name"
name="./firstName"/>
<showLastName
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/form/textfield"
fieldLabel="Last Name"
name="./lastName"/>
</items>
</collasableTextContainer>
The above xml code is for show hide checkbox in aem 6.5. So if i check this checkbox below container will open and show the fields of First and Last Name. And it is used to work without any extra clientlibs added.
Now I reacently changed the system and did AEM Project setup on new system and in that it's not working. And wherever I have used this class="cq-dialog-checkbox-showhide" across the code base it's not working.
But if I build the same code on my teammates system it's working. Its not working on my system. If I even deploy this code to ci-environment there also its working fine. Not working on any system where i did new project setup.
And I'm completely clueless what is the reason why it's not working.

