Skip to main content
Version: 1.21.3

checkbox

Use the <checkbox> tag to add and configure a checkbox field.

Available attributes:

AttributeTypeMandatoryDescription
classStringNSpecify the CSS class name defined in the CSS field of the widget.
isMandatoryBooleanNSet the value to true to make the field mandatory. The default value is false.
isVisibleBooleanNSet the value to false to hide the tag. The default value is true.
labelStringNDescribe the field content by giving it a title.
modelStringYSpecify this attribute to connect the client controller data object. When the model data changes, it is automatically transferred to the data of the client controller.
readOnlyBooleanNSet the value to true to make the field read-only. The default value is false.
styleStringNSpecify the display settings (size, font, color, and others) of the tag elements using the CSS syntax.
valueStringNSet the value to true to make the checkbox selected by default. The default value is false.

Example:

checkbox
<checkbox 
model="data.active"
label="Infrastructure Incident"
value="true"
></checkbox>

The template above adds a selected blue checkbox to the page: