Bug #58521
closed
Epic #62041: twbs Bootstrap backend, refactor EXT:t3skin and HTML5 output
Epic #62836: FormEngine PHP/HTML Improvements & Bootstrap
TCA: select with size=1, maxitems=2 only allows selection of 1 item
Added by Christian Weiske over 10 years ago.
Updated about 7 years ago.
Category:
FormEngine aka TCEforms
Sprint Focus:
Remote Sprint
Description
My select element with size=1
, minitems=0
and maxitems=2
displays two dropdown boxes. They allow me to select only one element instead of 2.
Files
- Status changed from New to Needs Feedback
How would you select two elements if you only display 1 (size = 1).
That configuration does not make sense.
In that case at least an error message should be shown.
- Status changed from Needs Feedback to Under Review
Markus Klein wrote:
How would you select two elements if you only display 1 (size = 1).
That configuration does not make sense.
true
- Status changed from Under Review to New
size=1
means that I want a list of size 1. More could be made visible by scrolling. This is what I want.
Unfortunately, the implementation of the list-with-size-1 in TYPO3 through browsers creates a dropdown, which is unfortunate as it removes the possibility to select multiple entries.
Still, my wish to be able to select multiple entries should be cherished. A solution would be to increase the size of the HTML select element to 2 instead of 1.
Did you try to build an HTML select with multiple and size=1.
Give it a shot and modify any dropdown in the forge update screen.
Example:
<select name="issue[status_id]" id="issue_status_id" multiple="multiple" size="1">
...
<option value="1" selected="selected">New</option>
...
</select>
Looks really lovely: Some strange element on the screen, no scrollbar. You can navigate with the arrow keys or the mouse wheel, and you've no clue what actually is selected and what is available. Worst UX ever.
- Parent task set to #62836
- Target version set to 7.1 (Cleanup)
- Sprint Focus set to On Location Sprint
- Assignee set to Bodo Eichstädt
- Target version changed from 7.1 (Cleanup) to 7.4 (Backend)
- Target version changed from 7.4 (Backend) to 7.5
- Assignee deleted (
Bodo Eichstädt)
- Sprint Focus changed from On Location Sprint to Remote Sprint
- Target version changed from 7.5 to 7 LTS
- Status changed from New to Resolved
- Assignee set to Morton Jonuschat
This issue has been solved with the FormEngine rewrite. If the renderType is `selectSingle` the maxitems property is ignored and doesn't lead to invalid output. The renderType `selectSingleBox` results in a select field for selecting multiple values.
- % Done changed from 0 to 100
- Status changed from Resolved to Closed
Also available in: Atom
PDF