Skip to main content
Version: 8.3

Checklist

A set of checkboxes providing data multi-selection for small datasets.

Form Checklist Symbol

Configurable properties

  • Field label: Label displayed on top of the checklist. Can either be an expression, plain text, or templating syntax.
  • Field description: Description provided below the checklist. Can either be an expression, plain text, or templating syntax.
  • Key: Binds the field to a form variable, refer to data binding docs.
  • Options source: Checklists can be configured with an options source defining the individual choices your user can make, refer to options source docs.
  • Read only: Makes the checklist read-only, meaning the user can't change but only read its state. Can be dynamically set using an expression.
  • Disabled: Disables the checklist, for use during development.
  • Hide if: Expression to hide the checklist.
  • Validation: Given that one of the following properties is set, the form will only submit when the respective condition is fulfilled. Otherwise, a validation error will be displayed.
    • Required: Checklist must contain a value.
  • Columns: Space the field will use inside its row. Auto means it will automatically adjust to available space in the row. Read more about the underlying grid layout in the Carbon Grid documentation.

Datatypes

Checklists can be bound to data of the any[] type, although for most practical cases we recommend string[] instead. The checklist component correlates the bound data with the values of the different options.

The data representation of this checklist:

Checklist Selection Image

Looks like this:

{
"mailto": [
"regional-manager",
"approver"
],
}