How do we set a default value for the "granite/ui/components/foundation/form/checkbox" in page properties? I've set the value as true but when I open a dialog first time its always un-selected.
Tried using cq:template to set the value but that also didn't set the default value.
Thanks in advance.
I found this solution Touch UI Checkbox selected by default – AEM Concepts | AEM Tutorial | AEMaaCS.
You have to use the defaultChecked attribute. Tried many other solutions but this is the only one that worked. If you're not seeing the change, re-create the page or use a component to test with.
text="Open link in new tab"