Project

General

Profile

Actions

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 almost 10 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Should have
Category:
FormEngine aka TCEforms
Target version:
Start date:
2014-05-05
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
Tags:
Complexity:
Is Regression:
No
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


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #58520: TCA: selection cannot be removed when size=1, minitems=0, maxitems=1ClosedBodo Eichstädt2014-05-05

Actions
Actions #1

Updated by Markus Klein almost 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.

Actions #2

Updated by Christian Weiske almost 10 years ago

In that case at least an error message should be shown.

Actions #3

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

Actions #4

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

Actions #5

Updated by Krzysztof Adamczyk almost 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

Actions #6

Updated by Markus Klein almost 10 years ago

  • Status changed from Under Review to New
Actions #7

Updated by Christian Weiske almost 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.

Actions #8

Updated by Markus Klein almost 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.

Actions #9

Updated by Felix Kopp over 9 years ago

  • Parent task set to #62836
Actions #10

Updated by Benni Mack about 9 years ago

  • Target version set to 7.1 (Cleanup)
  • Sprint Focus set to On Location Sprint
Actions #11

Updated by Bodo Eichstädt about 9 years ago

  • Assignee set to Bodo Eichstädt
Actions #12

Updated by Benni Mack almost 9 years ago

  • Target version changed from 7.1 (Cleanup) to 7.4 (Backend)
Actions #13

Updated by Susanne Moog over 8 years ago

  • Target version changed from 7.4 (Backend) to 7.5
Actions #14

Updated by Daniel Maier over 8 years ago

  • Assignee deleted (Bodo Eichstädt)
Actions #15

Updated by Anja Leichsenring over 8 years ago

  • Sprint Focus changed from On Location Sprint to Remote Sprint
Actions #16

Updated by Benni Mack over 8 years ago

  • Target version changed from 7.5 to 7 LTS
Actions #17

Updated by Morton Jonuschat over 8 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.

Actions #18

Updated by Frank Nägler over 8 years ago

  • % Done changed from 0 to 100
Actions #19

Updated by Riccardo De Contardi over 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF