Project

General

Profile

Actions

Bug #102348

closed

Using CountrySelect the value is displayed on summary page instead of the label

Added by Chris Müller over 1 year ago. Updated 2 months ago.

Status:
Resolved
Priority:
Should have
Assignee:
-
Category:
Form Framework
Target version:
-
Start date:
2023-11-08
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
12
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

When using the CountrySelect element and displaying a summary page, the value is displayed:

I would expect the label to be displayed, in the example "New Zealand".

For instance, in the SingleSelect element the label is displayed on the summary page.

Using TYPO3 v12.4.7


Files

clipboard-202311081337-ls5d8.png (2.01 KB) clipboard-202311081337-ls5d8.png Chris Müller, 2023-11-08 12:37

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #105835: Missing CountrySelect field in styleguide allFields formResolvedOliver Bartsch2024-12-17

Actions
Actions #1

Updated by Chris Müller over 1 year ago

Digging into it: The RenderFormValueViewHelper->processElementValue() method is responsible for setting a processedValue variable (which is then used on the summary page). For the CountrySelect element the options variable (which holds an array like ['value' => 'label']) is null, so the value is returned untouched.

Actions #2

Updated by Gerrit Code Review 8 months ago

  • Status changed from New to Under Review

Patch set 1 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/84855

Actions #3

Updated by Gerrit Code Review 7 months ago

Patch set 2 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/84855

Actions #4

Updated by Gerrit Code Review 4 months ago

Patch set 3 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/84855

Actions #5

Updated by Gerrit Code Review 2 months ago

Patch set 4 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/84855

Actions #6

Updated by Gerrit Code Review 2 months ago

Patch set 1 for branch 13.4 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/87520

Actions #7

Updated by Georg Ringer 2 months ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #8

Updated by Oliver Bartsch about 2 months ago

  • Related to Bug #105835: Missing CountrySelect field in styleguide allFields form added
Actions

Also available in: Atom PDF