Project

General

Profile

Actions

Feature #29399

closed

SelectViewHelper - should be able to display more than one option with same value

Added by Daniel Gercke over 12 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Fluid
Target version:
-
Start date:
2011-08-31
Due date:
% Done:

100%

Estimated time:
PHP Version:
Tags:
Complexity:
Sprint Focus:
On Location Sprint

Description

function getOptions() in SelectViewHelper.php gets options by putting them to an array.

$options[$key] = $value;

This is later on used this way

pseudocode:
<option value="$key">$value</option>

This behavior makes it impossible to use the same key multiple times for different values.

Actions #1

Updated by Ingo Pfennigstorf over 11 years ago

  • Status changed from New to Needs Feedback

Hi Daniel,

could you provide a fluid template / snippet for this issue?

Actions #2

Updated by Daniel Gercke over 11 years ago

<f:form method="post" controller="inRange" action="resultList" object="{demand}">
<f:form.select name="city" options="{demand.location} optionValueField="inRange" optionLabelField="cityName" />
</f:form>

inRange is boolean.

Actions #3

Updated by Anja Leichsenring over 11 years ago

  • Project changed from 534 to 2559
  • Category changed from 963 to Fluid: ViewHelpers
Actions #4

Updated by Alexander Opitz over 9 years ago

  • Tracker changed from Bug to Feature
  • Project changed from 2559 to TYPO3 Core
  • Category changed from Fluid: ViewHelpers to Fluid
  • Status changed from Needs Feedback to New
Actions #5

Updated by Claus Due over 8 years ago

Just a tiny update from the side lines: this issue has been reviewed, judging if it has any impact on or is affected by the merging of the standalone Fluid package as TYPO3 dependency.

Verdict: NOT AFFECTED, NOT SOLVED. This still can be implemented by changing the options resolving as described by OP.

Actions #6

Updated by Gerrit Code Review almost 8 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/48281

Actions #7

Updated by Gerrit Code Review almost 8 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/48281

Actions #8

Updated by Gerrit Code Review almost 8 years ago

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

Actions #9

Updated by Gerrit Code Review over 7 years ago

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

Actions #10

Updated by Gerrit Code Review over 7 years ago

Patch set 5 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/48281

Actions #11

Updated by Gerrit Code Review over 7 years ago

Patch set 6 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/48281

Actions #12

Updated by Gerrit Code Review over 7 years ago

Patch set 7 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/48281

Actions #13

Updated by Gerrit Code Review over 7 years ago

Patch set 8 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/48281

Actions #14

Updated by Gerrit Code Review over 7 years ago

Patch set 9 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/48281

Actions #15

Updated by Anja Leichsenring over 7 years ago

  • Sprint Focus set to On Location Sprint
Actions #16

Updated by Anonymous over 7 years ago

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

Updated by Benni Mack over 5 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF