Javadoc resource link |
---|
className | info.magnolia.ui.field.CheckBoxFieldDefinition |
---|
renderType | asynchronous |
---|
|
renders CheckBoxFieldDefinition
renders a single checkbox. It is a simpler alternative to
Javadoc resource link |
---|
className | info.magnolia.ui.field.CheckBoxGroupFieldDefinition
renderType | asynchronous |
---|
.
Info |
---|
Checkbox This checkbox field definition is part of the Magnolia 6 UI framework. The fully qualified class name is info.magnolia.ui.field.CheckBoxFieldDefinition . If you work with the Magnolia 5 UI framework, see Checkbox field for Magnolia 5 UI instead. |
Example
...
definition
Code Block |
---|
|
formcheckbox:
tabs$type:
- name: tabtitle
label: Title
fields:
- name: showTitle
fieldType: checkbox
label: checkBoxField
label: Show title
buttonLabelbuttonLabel: Select to display title |
...
Field properties
Field-specific properties
<field name> | Name of the field. |
buttonLabel
| optionalrequired Label displayed next to the right of the checkbox. The value is i18n-able. If you do not property is optional in the sense that if you don't want to have the any label rendered at all, you have to set , set the property to an empty string as its value, either in the YAML configuration, or in a message bundle. |
Common simple field properties
Include Page |
---|
| _Common simple field properties |
---|
| _Common simple |
---|
|
See also Common .