Bug #58521
closedEpic #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
100%
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
Updated by Markus Klein over 10 years ago
- 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.
Updated by Christian Weiske over 10 years ago
In that case at least an error message should be shown.
Updated by Gerrit Code Review over 10 years ago
- Status changed from Needs Feedback 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/29946
Updated by Gerrit Code Review over 10 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/29946
Updated by Krzysztof Adamczyk over 10 years ago
Markus Klein wrote:
How would you select two elements if you only display 1 (size = 1).
That configuration does not make sense.
true
Updated by Markus Klein over 10 years ago
- Status changed from Under Review to New
Updated by Christian Weiske over 10 years ago
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.
Updated by Markus Klein over 10 years ago
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.
Updated by Benni Mack almost 10 years ago
- Target version set to 7.1 (Cleanup)
- Sprint Focus set to On Location Sprint
Updated by Benni Mack over 9 years ago
- Target version changed from 7.1 (Cleanup) to 7.4 (Backend)
Updated by Susanne Moog over 9 years ago
- Target version changed from 7.4 (Backend) to 7.5
Updated by Anja Leichsenring over 9 years ago
- Sprint Focus changed from On Location Sprint to Remote Sprint
Updated by Benni Mack about 9 years ago
- Target version changed from 7.5 to 7 LTS
Updated by Morton Jonuschat about 9 years ago
- 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.
Updated by Riccardo De Contardi about 7 years ago
- Status changed from Resolved to Closed