[TASK] Allow components to manually change checkbox state
Components, using the multi record selection, introduced in #94906, usually do not have to change any checkbox state manually. The multi record selection component is taking care of it. However, there might be cases when a consuming component needs to change checkbox state on its own. An example is the workspaces module, which may changes checkbox state of child records when their parent record got changed. See: #94404. To prevent the components from overriding each other, the multi record selection now respects a special data attribute `manually-changed`. If set on a checkbox element, the multi record selection component will not touch this checkbox, while executing its (mass) actions. Resolves: #94948 Releases: master Change-Id: I35b07ca45cab4b96d3eea93ff45426702a1532d7 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/70713 Tested-by:core-ci <typo3@b13.com> Tested-by:
Jochen <rothjochen@gmail.com> Tested-by:
Benni Mack <benni@typo...>
Showing
- Build/Sources/TypeScript/backend/Resources/Public/TypeScript/MultiRecordSelection.ts 25 additions, 2 deletions...ckend/Resources/Public/TypeScript/MultiRecordSelection.ts
- typo3/sysext/backend/Resources/Public/JavaScript/MultiRecordSelection.js 1 addition, 1 deletion...ckend/Resources/Public/JavaScript/MultiRecordSelection.js
Please register or sign in to comment