[BUGFIX] Migrate "Revert selection" of SelectCheckboxElement
With #87324 parts of the FormEngine have been split into smaller, maintainable parts. However, `SelectCheckboxElement` brings it's own "Revert selection" implementation that has nothing in common with the "Reset selection" field control used for select boxes. The code is now rewritten to handle the revert on its own. Additionally, another inline `onclick` handler was removed. Resolves: #88314 Related: #87324 Releases: master Change-Id: Ifca1b67a960a8caab8145f2a7d5c8301918819fa Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/60728 Tested-by:Frank Naegler <frank.naegler@typo3.org> Tested-by:
TYPO3com <noreply@typo3.com> Tested-by:
Andreas Fernandez <a.fernandez@scripting-base.de> Reviewed-by:
Frank Naegler <frank.naegler@typo3.org> Reviewed-by:
Andreas Fernandez <a.fernandez@scripting-base.de>
Showing
- Build/Sources/TypeScript/backend/Resources/Public/TypeScript/FormEngine/Element/SelectCheckBoxElement.ts 17 additions, 5 deletions...ic/TypeScript/FormEngine/Element/SelectCheckBoxElement.ts
- typo3/sysext/backend/Classes/Form/Element/SelectCheckBoxElement.php 10 additions, 12 deletions...xt/backend/Classes/Form/Element/SelectCheckBoxElement.php
- typo3/sysext/backend/Resources/Public/JavaScript/FormEngine/Element/SelectCheckBoxElement.js 1 addition, 1 deletion...ic/JavaScript/FormEngine/Element/SelectCheckBoxElement.js
Please register or sign in to comment