Skip to content
Commit 8c478504 authored by Christian Eßl's avatar Christian Eßl Committed by Susanne Moog
Browse files

[BUGFIX] Evaluate invertStateDisplay in flexforms

The option "invertStateDisplay" for checkboxes was not working with
flexforms, because the received true/false values from a flexform are
of type "string" and not of type "bool".
To correctly evaluate these values, the "invertStateDisplay" options
in the TcaCheckboxItems class are now cast to bool.

Resolves: #90542
Releases: master, 9.5
Change-Id: I52027703a103db858db40095b039837c43ebe5d0
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/63506


Reviewed-by: default avatarAndreas Fernandez <a.fernandez@scripting-base.de>
Reviewed-by: default avatarOliver Bartsch <bo@cedev.de>
Reviewed-by: default avatarDaniel Goerz <daniel.goerz@posteo.de>
Reviewed-by: default avatarSusanne Moog <look@susi.dev>
Tested-by: default avatarTYPO3com <noreply@typo3.com>
Tested-by: default avatarDaniel Goerz <daniel.goerz@posteo.de>
Tested-by: default avatarSusanne Moog <look@susi.dev>
parent aac0c568
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