My select element with
maxitems=2 displays two dropdown boxes. They allow me to select only one element instead of 2.
#7 Updated by Christian Weiske almost 6 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.
#8 Updated by Markus Klein almost 6 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.
<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.
#17 Updated by Morton Jonuschat over 4 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.