valuePicker

valuePicker
Type:array
Scope:Display
RenderTypes:default, colorpicker, inputLink

Renders a select box with static values next to the input field. When a value is selected in the box, the value is transferred to the field. Keys:

mode (keyword)
blank (or not set)
The selected value substitutes the value in the input field
append
The selected value is appended to an existing value of the input field
prepend
The selected value is prepended to an existing value of the input field

Note

The colorpicker ignores the mode setting, new values from the select box always substitute an existing one.

items (array)
An array with selectable items. Each item is an array with the first value being the label in the select drop-down (LLL reference possible) the second being the value transferred to the input field.

Example

'input_33' => [
   'label' => 'input_33',
   'config' => [
      'type' => 'input',
      'valuePicker' => [
         'items' => [
            ['spring', 'Spring'],
            ['summer', 'Summer'],
            ['autumn', 'Autumn'],
            ['winter', 'Winter'],
         ],
      ],
   ],
],