Skip to content
Snippets Groups Projects
Commit 162e6d47 authored by Oliver Bartsch's avatar Oliver Bartsch Committed by Benni Mack
Browse files

[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: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarJochen <rothjochen@gmail.com>
Tested-by: default avatarBenni Mack <benni@typo3.org>
Reviewed-by: default avatarJochen <rothjochen@gmail.com>
Reviewed-by: default avatarBenni Mack <benni@typo3.org>
parent b78ab775
Branches
Tags
No related merge requests found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment