Hi,
For the same component checkbox value are saving different in CRX.
1- from classic ui dialog it save-
true
2- from touch ui dialog it save-
"true"
Classic UI Dialog
<application-type-list jcr:primaryType="cq:Widget" fieldDescription="Click the '+' to add a new Product Type" fieldLabel="Product Type" name="./productType" width="600" xtype="multifield"> <fieldConfig jcr:primaryType="cq:Widget" xtype="multifieldpanel"> <items jcr:primaryType="cq:WidgetCollection"> <description jcr:primaryType="nt:unstructured" fieldDescription="Enter Description" fieldLabel="Description" key="description" name="./description" width="350" xtype="textfield"/> <showdescription jcr:primaryType="cq:Widget" fieldLabel="Show Description" key="showdescription" name="./showdescription" width="350" xtype="checkbox"/> </items> </fieldConfig> </application-type-list>
Touch UI dialog
<application-type-list jcr:primaryType="nt:unstructured" sling:resourceType="granite/ui/components/foundation/form/multifield" fieldDescription="Click the '+' to add a new Product Type" fieldLabel="Product Type"> <field jcr:primaryType="nt:unstructured" sling:resourceType="granite/ui/components/foundation/form/fieldset" acs-commons-nested="" name="./productType"> <layout jcr:primaryType="nt:unstructured" sling:resourceType="granite/ui/components/foundation/layouts/fixedcolumns" method="absolute"/> <items jcr:primaryType="nt:unstructured"> <column jcr:primaryType="nt:unstructured" sling:resourceType="granite/ui/components/foundation/container"> <items jcr:primaryType="nt:unstructured"> <description jcr:primaryType="nt:unstructured" sling:resourceType="granite/ui/components/foundation/form/textfield" fieldDescription="Enter Description" fieldLabel="Description" key="description" name="./description" width="350"/> <showdescription jcr:primaryType="nt:unstructured" sling:resourceType="granite/ui/components/foundation/form/checkbox" text="Show Affiliated Society" key="showAffiliatedSociety" value="true" name="./showAffiliatedSociety"/> <showdescriptionType jcr:primaryType="nt:unstructured" sling:resourceType="granite/ui/components/foundation/form/hidden" name="./showdescription@TypeHint" key="showdescription" value="Boolean"/> </items> </column> </items> </field> </application-type-list>