Task #85655
closedSuggest wizard should receive record's uid as parameter
100%
Description
When implementing a custom suggestion wizard, it could be useful to receive the uid of the record where the suggestion is requested. A sample use-case is when the suggest wizard lets you query records for the same table but you want to filter out the record itself.
Updated by Xavier Perseguers over 6 years ago
To test, you may apply this patch which will show you a suggest wizard for the db_mountpoints field of table be_groups:
diff --git a/typo3/sysext/core/Configuration/TCA/be_groups.php b/typo3/sysext/core/Configuration/TCA/be_groups.php index 0e8fa663e6..97604e134d 100644 --- a/typo3/sysext/core/Configuration/TCA/be_groups.php +++ b/typo3/sysext/core/Configuration/TCA/be_groups.php @@ -44,6 +44,11 @@ return [ 'size' => 3, 'maxitems' => 100, 'autoSizeMax' => 10, + 'wizards' => [ + 'suggest' => [ + 'type' => 'suggest', + ] + ] ] ], 'file_mountpoints' => [
Updated by Gerrit Code Review over 6 years ago
- Status changed from New to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/57689
Updated by Gerrit Code Review over 6 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/57689
Updated by Gerrit Code Review over 6 years ago
Patch set 1 for branch TYPO3_8-7 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/57691
Updated by Xavier Perseguers over 6 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 38a2676fea211a7d1973eeb695d7666a6f9b86ce.