Project

General

Profile

Actions

Bug #65345

closed

Cannot set select multiple conditionally

Added by Mathias Brodala about 9 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Must have
Category:
Fluid
Target version:
-
Start date:
2015-02-25
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
Tags:
Complexity:
easy
Is Regression:
No
Sprint Focus:

Description

Currently one cannot set the multiple attribute of the SelectViewHelper conditionally like this:

<f:form.select property="foo" options="{options}" multiple="{multiple}"/>

As soon as the multiple attribute is used, it is rendered in any case with whatever value was passed. (Thus if you pass true as suggested currently, you get an invalid multiple="true".

This should be fixed by converting multiple into a boolean argument.

Actions

Also available in: Atom PDF