Set Nested Group value

When creating a nested group sometimes i get a group value/switch

but sometimes not

How can i set the switch or value that should be shown in the top right corner?