Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[!!!][BUGFIX] Fix behaviour of inverted TCA checkboxes
States of checkboxes defined in the TCA with "invertStateDisplay" enabled are announced in the same way as the visual representation. The underlaying checkbox value is inverted instead of just inverting the corresponding visual representation. The CSS class "checkbox-invert" used for styling these checkboxes has been removed. Resolves: #92678 Releases: master Change-Id: Id35d0cc3b3872a8176f30eee6abdf49287a2c44a Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/66282 Tested-by: Michael Telgkamp <michael.telgkamp@mindscreen.de> Tested-by: TYPO3com <noreply@typo3.com> Tested-by: Benni Mack <benni@typo3.org> Reviewed-by: Michael Telgkamp <michael.telgkamp@mindscreen.de> Reviewed-by: Benni Mack <benni@typo3.org>
- Loading branch information
Showing
7 changed files
with
66 additions
and
76 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
39 changes: 39 additions & 0 deletions
39
...Documentation/Changelog/master/Breaking-92678-CssClassCheckboxInvertRemoved.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
.. include:: ../../Includes.txt | ||
|
||
==================================================== | ||
Breaking: #92678 - CSS class checkbox-invert removed | ||
==================================================== | ||
|
||
See :issue:`92678` | ||
|
||
Description | ||
=========== | ||
|
||
FormEngine used to have a class 'checkbox-invert' for the styling | ||
of an item with enabled flag 'invertStateDisplay'. Now the checkbox value | ||
itself is inverted. Therefore the class has been removed as it is not needed | ||
any more. | ||
|
||
|
||
Impact | ||
====== | ||
|
||
Using the class doesn't have any effect on styling anymore. | ||
|
||
|
||
Affected Installations | ||
====================== | ||
|
||
Standard installations of TYPO3 are not affected. Only installations that | ||
use the class 'checkbox-invert' for customizations are affected. | ||
|
||
|
||
Migration | ||
========= | ||
|
||
There is no migration required if only the invertStateDisplay configuration | ||
is used. If CSS styling or JavaScript in the backend relies on the | ||
class 'checkbox-invert' present custom code needs to be added to make it | ||
available again. | ||
|
||
.. index:: Backend, CSS, NotScanned, ext:backend |