CheckBoxFieldDefinition renders a single checkbox. It is a simpler alternative to CheckBoxGroupFieldDefinition.
class: info.magnolia.ui.form.field.definition.CheckboxFieldDefinition
fieldType: checkbox
Example checkbox field definition
form: tabs: - name: tabtitle label: Title fields: - name: showTitle fieldType: checkbox label: Show title buttonLabel: Select to display title
Checkbox field properties
<field name> | Name of the field. |
| optional Label displayed to the right of the checkbox. The property is optional in the sense that if you don't want to have the label rendered at all, you have to set an empty string as its value, either in the YAML configuration, or in a message bundle. |
See also Common field properties.
Overview
Content Tools