Issue Task Closed

#106092valuePicker should support associative array keys "label" and "value"

Christian Weiske 02/06/25, 07:07 updated 12/02/25, 14:27

Description

Since TYPO3v12, TCA items can be defined as associative arrays with “label” and “value” keys.

The items of a TCA valuePicker still require key 0 for label and key 1 for the value.

It would be nice if the APIs could be aligned, and I could define valuePicker items with label and value keys.

Reviews 2

History 511

  1. Oliver Hader commented and changed status New Accepted <span data-processor="relativetime" data-value="2025-02-06T07:42:05+00:00" > 02/06/25, 07:42 </span>

    Ack. Streamlining the definitions for config/items and config/valuePicker/items makes sense. This would have to be applied to all corresponding element types – like number, color, email, …

  2. Gerrit Code Review pushed patch set 1 for main to change 88644 status Accepted Under Review <span data-processor="relativetime" data-value="2025-03-18T16:37:28+00:00" > 03/18/25, 16:37 </span>

  3. Georg Ringer commented and changed status Under Review Resolved done 0 % 100 % <span data-processor="relativetime" data-value="2025-03-26T13:05:08+00:00" > 03/26/25, 13:05 </span>

    Applied in changeset commit:a03f3624267453be3c548f47e087b9ad0c76db09.