Feature #89690
openext:form - read selectOptions from a database table
0%
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)
Updated by Björn Jacob about 5 years ago
- Status changed from New to Needs Feedback
- Assignee set to Christian Eßl
Hi Christian, can you check out this extension? Does it suit your needs?
See https://github.com/tritum/static_info_tables_formelements
Updated by Christian Eßl about 5 years ago
Hi,
thank you! We are doing something similar already here to get Select inputs that get their options from a db table, (so it's not that important of a feature)
but I think it would be useful to support this directly in ext:form just with a bit of YAML configuration.
Updated by Susanne Moog over 4 years ago
- Status changed from Needs Feedback to New