Checkbox radio
The setting field type Checkbox Radio
Arguments
Code example
@schema
{
"name" : "Checkbox Radio",
"author" : "LayoutHub Team",
"website" : "https://www.LayoutHub.com"
}
@endschema
<div class="sample-demo">
Your dropdown value: @print(section.settings.items)
</div>[
{
name: 'items',
label: 'Select item',
type: 'radio',
value: 'two',
options: {
'one': 'Value 1',
'two': 'Value 2',
'three': 'Value 3'
}
}
]How it works

Last updated