Examples

Simple input field

'columns' => [
    'input_1' => [
        'l10n_mode' => 'prefixLangTitle',
        'exclude' => 1,
        'label' => 'input_1 description',
        'description' => 'field description',
        'config' => [
            'type' => 'input',
            'behaviour' => [
                'allowLanguageSynchronization' => true,
            ],
        ],
    ],
]

Input with placeholder and null handling

../../../../_images/Input28.png
'columns' => [
    'input_28' => [
        'exclude' => 1,
        'label' => 'input_28',
        'description' => 'placeholder=__row|input_26 mode=useOrOverridePlaceholder eval=null default=null',
        'config' => [
            'type' => 'input',
            'placeholder' => '__row|input_26',
            'eval' => 'null',
            'default' => null,
            'mode' => 'useOrOverridePlaceholder',
        ],
    ],
]

Value slider

../../../../_images/Input30.png
'columns' => [
    'input_30' => [
        'exclude' => 1,
        'label' => 'input_30',
        'description' => 'slider step=10 width=200 eval=trim,int',
        'config' => [
            'type' => 'input',
            'size' => 5,
            'eval' => 'trim,int',
            'range' => [
                'lower' => -90,
                'upper' => 90,
            ],
            'default' => 0,
            'slider' => [
                'step' => 10,
                'width' => 200,
            ],
        ],
    ],
]

Value picker

../../../../_images/Input33.png
'columns' => [
    'input_33' => [
        'exclude' => 1,
        'label' => 'input_33',
        'description' => 'valuePicker',
        'config' => [
            'type' => 'input',
            'size' => 20,
            'eval' => 'trim',
            'valuePicker' => [
                'items' => [
                    [
                        'spring',
                        'Spring',
                    ],
                    [
                        'summer',
                        'Summer',
                    ],
                    [
                        'autumn',
                        'Autumn',
                    ],
                    [
                        'winter',
                        'Winter',
                    ],
                ],
            ],
        ],
    ],
]