Page History
Javadoc resource link | ||||
---|---|---|---|---|
|
Javadoc resource link | ||||
---|---|---|---|---|
|
class: info.magnolia.ui.form.field.definition.CheckboxFieldDefinition
fieldType: checkbox
Table of Contents |
---|
Example checkbox field definition
Code Block | ||
---|---|---|
| ||
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