Commit 8a455d39 authored by Oliver Bartsch's avatar Oliver Bartsch
Browse files

[BUGFIX] Make selectCheckBox work with readOnly

Using "readOnly" for a TCA field with renderType
"selectCheckBox" previously led to the fact, that
nothing was rendered at all. This can be seen with
`tx_styleguide_elements_select.select_checkbox_4`.

This is now fixed, while the whole element got a
light code cleanup. This will increase performance
a bit, since unneeded JavaScript is no longer loaded.

Additionally, this also fixes the "expandAll" option,
which was broken due to the bootstrap 5 upgrade.

Resolves: #96058
Resolves: #96068
Releases: master, 11.5
Change-Id: I762d328c9f4c83558dd8fd98683f8ccfe6c4b3f0
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/72279

Tested-by: core-ci's avatarcore-ci <typo3@b13.com>
Tested-by: Jochen's avatarJochen <rothjochen@gmail.com>
Tested-by: Nikita Hovratov's avatarNikita Hovratov <nikita.h@live.de>
Tested-by: Benni Mack's avatarBenni Mack <benni@typo3.org>
Tested-by: Oliver Bartsch's avatarOliver Bartsch <bo@cedev.de>
Reviewed-by: Jochen's avatarJochen <rothjochen@gmail.com>
Reviewed-by: Nikita Hovratov's avatarNikita Hovratov <nikita.h@live.de>
Reviewed-by: Benni Mack's avatarBenni Mack <benni@typo3.org>
Reviewed-by: Oliver Bartsch's avatarOliver Bartsch <bo@cedev.de>
parent 3801adce
Pipeline #19719 passed with stages
in 41 minutes and 13 seconds
Markdown is supported
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