Project

General

Profile

Actions

Feature #89690

open

ext:form - read selectOptions from a database table

Added by Christian Eßl about 5 years ago. Updated over 4 years ago.

Status:
New
Priority:
Should have
Category:
Form Framework
Target version:
-
Start date:
2019-11-15
Due date:
% Done:

0%

Estimated time:
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

The options for a select in the form editor can currently only be configured in YAML:

selectOptions:
  10:
    value: 'image/jpeg'
    label: 'formEditor.elements.ImageUpload.editor.allowedMimeTypes.jpg'
  20:
    value: 'image/png'
    label: 'formEditor.elements.ImageUpload.editor.allowedMimeTypes.png'

It would be nice to have the possibility, of reading the selectOptions from a database table. This could be configured similarily to the way it is already done in TCA. (https://docs.typo3.org/m/typo3/reference-tca/master/en-us/ColumnsConfig/Type/Select.html)

Actions

Also available in: Atom PDF