Examples

Simple input field

      'input_1' => [ 
         'l10n_mode' => 'prefixLangTitle',
         'exclude' => 1,
         'label' => 'input_1 description',
         'description' => 'field description',
         'config' => [ 
            'type' => 'input',
            'behaviour' => [ 
               'allowLanguageSynchronization' => true,
            ],
         ],
      ],
      // Example from extension "styleguide", table "tx_styleguide_elements_basic"

Input with placeholder and null handling

      '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',
         ],
      ],
      // Example from extension "styleguide", table "tx_styleguide_elements_basic"

Value slider

      '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,
            ],
         ],
      ],
      // Example from extension "styleguide", table "tx_styleguide_elements_basic"

Value picker

      'input_33' => [ 
         'exclude' => 1,
         'label' => 'input_33',
         'description' => 'valuePicker',
         'config' => [ 
            'type' => 'input',
            'size' => 20,
            'eval' => 'trim',
            'valuePicker' => [ 
               'items' => [ 
                  '0' => [ 
                     '0' => 'spring',
                     '1' => 'Spring',
                  ],
                  '1' => [ 
                     '0' => 'summer',
                     '1' => 'Summer',
                  ],
                  '2' => [ 
                     '0' => 'autumn',
                     '1' => 'Autumn',
                  ],
                  '3' => [ 
                     '0' => 'winter',
                     '1' => 'Winter',
                  ],
               ],
            ],
         ],
      ],
      // Example from extension "styleguide", table "tx_styleguide_elements_basic"