Feature #95808
closedIn select fields using a foreign_table it should be possible to define a DB field that is used for assigning a group defined in itemGroups
100%
Description
The itemGroups feature for TCA select fields is great. However, it is currently not possible to define a group to an item when using a foreign_table
.
It should be possible to configure a field of the foreign_table
whose value is stored in the group information of the item, to make groupItems work for database-supported select fields.
Example 'foreign_table_group' => 'my_group_field'
. All items fetched by the TcaSelectItems
form data provider would fetch this field and store it at position 4 (index 3) of the item array.
(if this field contains dynamic values it's still and already possible to add a custom form data provider fetching and adding these dynamic groups -only to use these dynamic groups for DB-fetched items is not possible, which is the feature request here)
Updated by Gerrit Code Review 8 months ago
- Status changed from New to Under Review
Patch set 1 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/82171
Updated by Gerrit Code Review 8 months ago
Patch set 2 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/82171
Updated by Gerrit Code Review 8 months ago
Patch set 3 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/82171
Updated by Gerrit Code Review 8 months ago
Patch set 4 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/82171
Updated by Gerrit Code Review 7 months ago
Patch set 5 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/82171
Updated by Gerrit Code Review 7 months ago
Patch set 6 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/82171
Updated by Gerrit Code Review 7 months ago
Patch set 7 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/82171
Updated by Gerrit Code Review 7 months ago
Patch set 8 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/82171
Updated by Gerrit Code Review 7 months ago
Patch set 9 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/82171
Updated by Oliver Bartsch 7 months ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 5d1edad01a899c127e70c039b5be34e256ec0a36.