Attention
TYPO3 v12 has reached end-of-life as of April 30th 2026 and is no longer being maintained. Use the version switcher on the top left of this page to select documentation for a supported version of TYPO3.
Need more time before upgrading? You can purchase Extended Long Term Support (ELTS) for TYPO3 v12 here: TYPO3 ELTS.
Toggle checkbox
The checkbox with the renderType checkboxToggle renders as one or several toggle switches. As opposed to the Labeled toggle checkbox no additional labels for the states can be defined.
Its state can be inverted via invert.
Examples
Example: Single checkbox with toggle
[
'columns' => [
'checkbox_17' => [
'label' => 'checkbox_17',
'description' => 'renderType=checkboxToggle single',
'config' => [
'type' => 'check',
'renderType' => 'checkboxToggle',
'items' => [
[
'label' => 'foo',
],
],
],
],
],
]
checkbox: Instead of checkboxes, a toggle item is displayed.
Example: Single checkbox with toggle inverted state display
[
'columns' => [
'checkbox_18' => [
'label' => 'checkbox_18',
'description' => 'renderType=checkboxToggle single inverted state display',
'config' => [
'type' => 'check',
'renderType' => 'checkboxToggle',
'items' => [
[
'label' => 'foo',
'invertStateDisplay' => true,
],
],
],
],
],
]
inverted: A checkbox is marked checked if the database bit is
not set and vice versa.