[FEATURE] Allow TCA description property
When the site configuration module has been introduced, it came with a custom functionality to show an additional help text when editing site records between the field label and the field input. This useful feature is now changed into a general TCA feature available everywhere: A new field information node expansion / "wizard" is added to all form elements, the inline and flex containers: If the property "description" is set for a TCA column type (same array level as "label", it will show the value as localized string between the field label and the input section. There are three available render types for "wizard a-like" output: * Field information - text between label+field * Field control - buttons next to input sections like the link popup button * Field wizards - clickable stuff below the input section, for example the localization state selector If a field has been set to readOnly=true in TCA, field control and field wizards do not make sense to render since they are meant to act with the field value. The field information node however has only informational character which is useful for readOnly fields, too. Thus, this node expansion type is now the only one that is always rendered, even if a field has been set to readOnly. Note this patch is fully covered by ext:styleguide (master) to have examples for all changed elements now using the description property. Resolves: #85410 Releases: master Change-Id: Idcfacafa19b8208614b653b8fac22ce47bca3b8f Reviewed-on: https://review.typo3.org/57397 Tested-by:TYPO3com <no-reply@typo3.com> Reviewed-by:
Jörg Bösche <typo3@joergboesche.de> Tested-by:
Jörg Bösche <typo3@joergboesche.de> Reviewed-by:
Andreas Wolf <andreas.wolf@typo3.org> Tested-by:
Andreas Wolf <andreas.wolf@typo3.org>
Showing
- typo3/sysext/backend/Classes/Form/Container/FlexFormContainerContainer.php 2 additions, 1 deletion...end/Classes/Form/Container/FlexFormContainerContainer.php
- typo3/sysext/backend/Classes/Form/Container/FlexFormElementContainer.php 5 additions, 0 deletions...ckend/Classes/Form/Container/FlexFormElementContainer.php
- typo3/sysext/backend/Classes/Form/Container/FlexFormNoTabsContainer.php 19 additions, 1 deletion...ackend/Classes/Form/Container/FlexFormNoTabsContainer.php
- typo3/sysext/backend/Classes/Form/Container/FlexFormTabsContainer.php 17 additions, 1 deletion.../backend/Classes/Form/Container/FlexFormTabsContainer.php
- typo3/sysext/backend/Classes/Form/Container/InlineControlContainer.php 16 additions, 0 deletions...backend/Classes/Form/Container/InlineControlContainer.php
- typo3/sysext/backend/Classes/Form/Element/CheckboxElement.php 12 additions, 3 deletions...3/sysext/backend/Classes/Form/Element/CheckboxElement.php
- typo3/sysext/backend/Classes/Form/Element/CheckboxLabeledToggleElement.php 12 additions, 3 deletions...end/Classes/Form/Element/CheckboxLabeledToggleElement.php
- typo3/sysext/backend/Classes/Form/Element/CheckboxToggleElement.php 12 additions, 3 deletions...xt/backend/Classes/Form/Element/CheckboxToggleElement.php
- typo3/sysext/backend/Classes/Form/Element/GroupElement.php 16 additions, 4 deletionstypo3/sysext/backend/Classes/Form/Element/GroupElement.php
- typo3/sysext/backend/Classes/Form/Element/ImageManipulationElement.php 11 additions, 0 deletions...backend/Classes/Form/Element/ImageManipulationElement.php
- typo3/sysext/backend/Classes/Form/Element/InputColorPickerElement.php 16 additions, 4 deletions.../backend/Classes/Form/Element/InputColorPickerElement.php
- typo3/sysext/backend/Classes/Form/Element/InputDateTimeElement.php 16 additions, 4 deletions...ext/backend/Classes/Form/Element/InputDateTimeElement.php
- typo3/sysext/backend/Classes/Form/Element/InputLinkElement.php 16 additions, 4 deletions.../sysext/backend/Classes/Form/Element/InputLinkElement.php
- typo3/sysext/backend/Classes/Form/Element/InputTextElement.php 16 additions, 4 deletions.../sysext/backend/Classes/Form/Element/InputTextElement.php
- typo3/sysext/backend/Classes/Form/Element/NoneElement.php 13 additions, 2 deletionstypo3/sysext/backend/Classes/Form/Element/NoneElement.php
- typo3/sysext/backend/Classes/Form/Element/RadioElement.php 43 additions, 34 deletionstypo3/sysext/backend/Classes/Form/Element/RadioElement.php
- typo3/sysext/backend/Classes/Form/Element/SelectCheckBoxElement.php 12 additions, 3 deletions...xt/backend/Classes/Form/Element/SelectCheckBoxElement.php
- typo3/sysext/backend/Classes/Form/Element/SelectMultipleSideBySideElement.php 17 additions, 1 deletion.../Classes/Form/Element/SelectMultipleSideBySideElement.php
- typo3/sysext/backend/Classes/Form/Element/SelectSingleBoxElement.php 12 additions, 3 deletions...t/backend/Classes/Form/Element/SelectSingleBoxElement.php
- typo3/sysext/backend/Classes/Form/Element/SelectSingleElement.php 12 additions, 3 deletions...sext/backend/Classes/Form/Element/SelectSingleElement.php
Please register or sign in to comment