Examples

Set of radio buttons field

../../../_images/Radio1.png
EXT:styleguide/Configuration/TCA/tx_styleguide_elements_basic.php
[
    'columns' => [
        'radio_1' => [
            'label' => 'description',
            'description' => 'radio_1 three options, one without label',
            'config' => [
                'type' => 'radio',
                'items' => [
                    [
                        'foo',
                        1,
                    ],
                    [
                        '',
                        2,
                    ],
                    [
                        'foobar',
                        3,
                    ],
                ],
            ],
        ],
    ],
]