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

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

varshneyanuj
Level 2
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
rajkumarsamalaa
Level 2
Level 2

any suggestion, i have same situation ?

hardik11071994
Level 2
Level 2

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