Deprecation: #69822 - Deprecate TCA settings of select fields¶
See forge#69822
Description¶
Using the TCA field type select
without specifying a valid render
has been marked as deprecated.
Additionally the usage of render
for select fields has been marked as deprecated.
These render
settings are available:
- Key
- renderType
- Datatype
- string
- Description
-
This setting specifies how the select field should be displayed. Available options are:
select
- Normal select field for selecting a single value.Single select
- Normal select field for selecting multiple values.Single Box select
- List of checkboxes for selecting muliple values.Check Box select
- Two select fields, items can be selected from the right field, selected items are displayed in the left select.Multiple Side By Side select
- A tree for selecting hierarchical data.Tree
- Scope
- Display
Note
If a field has no render
set but maxitems
is set, the migration will set
render
to select
in case of maxitems
is <= 1 otherwise render
is set to select
Impact¶
The old TCA settings can still be used. A migration handles the update of the settings.
Affected Installations¶
All installations with extensions that configure TCA select fields in the old format.
Migration¶
Extension authors need to add the correct render
setting to their select
field definitions.