[FEATURE] Show value of fields in debug mode 47/56147/11
authorGeorg Ringer <georg.ringer@gmail.com>
Wed, 14 Mar 2018 13:55:47 +0000 (14:55 +0100)
committerFrank Naegler <frank.naegler@typo3.org>
Thu, 15 Mar 2018 19:58:42 +0000 (20:58 +0100)
commita9b2298dd23bcd70de920c7ef07cddf3777a1aec
treeca8d9e3ec72ce2605a622ad30a0a6c6c051a38ac
parent32123cf0db2a8b3a365a2dbac2a481d53b733657
[FEATURE] Show value of fields in debug mode

If the configuration `['BE']['debug']` is enabled and the current user is an administrator,
the value of select, radio and checkbox fields which are generated by
the `FormEngine` is appended to its label.

Resolves: #83748
Releases: master
Change-Id: I735bd3c83b5b12eb3cddcc66d1b92d48cf5e5991
Reviewed-on: https://review.typo3.org/56147
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Susanne Moog <susanne.moog@typo3.org>
Tested-by: Susanne Moog <susanne.moog@typo3.org>
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
Tested-by: Frank Naegler <frank.naegler@typo3.org>
13 files changed:
typo3/sysext/backend/Classes/Form/Element/AbstractFormElement.php
typo3/sysext/backend/Classes/Form/Element/CheckboxElement.php
typo3/sysext/backend/Classes/Form/Element/CheckboxLabeledToggleElement.php
typo3/sysext/backend/Classes/Form/Element/CheckboxToggleElement.php
typo3/sysext/backend/Classes/Form/Element/GroupElement.php
typo3/sysext/backend/Classes/Form/Element/RadioElement.php
typo3/sysext/backend/Classes/Form/Element/SelectCheckBoxElement.php
typo3/sysext/backend/Classes/Form/Element/SelectMultipleSideBySideElement.php
typo3/sysext/backend/Classes/Form/Element/SelectSingleBoxElement.php
typo3/sysext/backend/Classes/Form/Element/SelectSingleElement.php
typo3/sysext/backend/Classes/Form/FormDataProvider/AbstractItemProvider.php
typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/TcaSelectItemsTest.php
typo3/sysext/core/Documentation/Changelog/master/Feature-83748-ShowValueOfFieldsInDebugMode.rst [new file with mode: 0644]