Bug #82843
closedTCA: localized `SelectSingleElement` selects wrong option
100%
Description
When working with a single select field in the form engine, with its localization mode setting set to defaultAsReadonly
, the selected value from the localized children elements will not be correct.
With the following TCA configuration:
'event' => [
'label' => "Select Single Element",
'l10n_mode' => 'exclude',
'l10n_display' => 'defaultAsReadonly',
'config' => [
'type' => 'select',
'renderType' => 'selectSingle',
'items' => [
['Label A', 'A'],
['Label B', 'B'],
],
],
],
I get the following rendering:
Root element
Translated element
In the translated element, the selected value should be Label B
.
Files
Updated by Gerrit Code Review about 7 years ago
- Status changed from New to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/54466
Updated by Mathias Brodala over 6 years ago
- Sprint Focus deleted (
On Location Sprint)
Updated by Christian Kuhn about 6 years ago
- Status changed from Under Review to New
Updated by Andreas Krämer over 5 years ago
- Related to Bug #77257: The selection of a selectbox with the l10n_display type of defaultAsReadonly in TCA is wrong for a localized record added
Updated by Gerrit Code Review over 4 years ago
- Status changed from New to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/63722
Updated by Benni Mack over 4 years ago
- Related to Bug #87858: Localized selectSingle field does not get disabled with allowLanguageSynchronization = true added
Updated by Gerrit Code Review over 4 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/63722
Updated by Benni Mack over 4 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset a8913dbe2fcf9676153d4036acde7df4cd12681b.
Updated by Gerrit Code Review over 4 years ago
- Status changed from Resolved to Under Review
Patch set 1 for branch 9.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/63977
Updated by Benni Mack over 4 years ago
- Status changed from Under Review to Resolved
Applied in changeset ae8172cef8ed304dea48c2b1facf54a03ec87206.