Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Adobe Summit 2023 [19th to 23rd March, Las Vegas and Virtual] | Complete AEM Session & Lab list

How to set default value to true in Checkbox - Page properties

Avatar

Level 2

Hello,

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.

Any suggestions?

Thanks in advance.

-Anuj Varshney

2 Replies

Avatar

Level 3

@kautuk_sahni I am also facing this issue, please let us know if it's feasible to preselect checkbox in page properties or not?

The ultimate experience is back.

Join us in Vegas to build skills, learn from the world's top brands, and be inspired.

Register Now