Switch

Switch

List Column

switch - displays a on or off state for boolean columns.

enabled:
    label: Enabled
    type: switch

You may customize the switch text by passing an array to the options value with false and true labels.

enabled:
    label: Enabled
    type: switch
    options:
        - Nope
        - Yeah
On This Page