-
Notifications
You must be signed in to change notification settings - Fork 445
Description
This is a follow-up to https://forge.typo3.org/issues/107410#note-1.
The custom link browser tutorial should use the "backend.form" tag in Configuration/JavaScriptModules.php.
The example does not use any tags:
The example repository uses the "backend.contextmenu" tag, since the repository also contains a context menu handler. But it does not use "backend.form", either:
Tag "backend.form" should be necessary since this changelog entry:
Following the tutorial, setting up Configuration/JavaScriptModules.php without "backend.form" tag (as documented), yields this JavaScript error:
Uncaught (in promise) Error: Unable to resolve specifier '@<vendor>/<package>/<JS file path>'
However, adding the "backend.form" tag to the javascript modules declaration fixes this issue.
There is a number of issues which were closed with issue authors adding "backend.form" to their javascript module tags:
- https://forge.typo3.org/issues/102111
- https://forge.typo3.org/issues/106875
- https://forge.typo3.org/issues/99934
Only the documentation seems to need to be updated.
CC @aisuzuki