[BUGFIX] Allow requireJsModules from FormEngine fieldControl
While the two NodeExpansion API's allow the usual returnArray from single expansion nodes, fieldControl does not, due to its restricted format. The patch improves the single return value result merging and adds support especially for 'requireJsModules' to fieldControl. Change-Id: I7b8e44076aadd27fa5b9780ff97c1bab7141b55f Resolves: #80330 Releases: master Reviewed-on: https://review.typo3.org/52085 Tested-by:TYPO3com <no-reply@typo3.com> Reviewed-by:
Wouter Wolters <typo3@wouterwolters.nl> Tested-by:
Wouter Wolters <typo3@wouterwolters.nl> Reviewed-by:
Andreas Fernandez <typo3@scripting-base.de> Tested-by:
Andreas Fernandez <typo3@scripting-base.de>
Showing
- typo3/sysext/backend/Classes/Form/NodeExpansion/FieldControl.php 5 additions, 2 deletions...ysext/backend/Classes/Form/NodeExpansion/FieldControl.php
- typo3/sysext/backend/Tests/Unit/Form/NodeExpansion/FieldControlTest.php 107 additions, 0 deletions...ackend/Tests/Unit/Form/NodeExpansion/FieldControlTest.php
Please register or sign in to comment