Bug #30703
closedEpic #62041: twbs Bootstrap backend, refactor EXT:t3skin and HTML5 output
Epic #62836: FormEngine PHP/HTML Improvements & Bootstrap
TCA type "select" + "multiple": cannot select the same item many times
0%
Description
Suppose you have a select control with "multiple" property in $TCA (see the screenshot). You want to add the same item multiple times. You cannot do that by simply clicking the item multiple times: you have to click the item, the other item, again your item, and so on.
The cause: the control uses "onchange" handler. There is no "change" event when the same item is clicked.
The solution: the control should use "onclick" handler.
Files
Updated by Xavier Perseguers over 12 years ago
- Status changed from New to Accepted
Updated by Dmitry Dulepov over 12 years ago
TCEforms uses generic code for all kind of select boxes. Therefore changing "onchange" to "onclick" should be done with care. Possibly there should be two handlers: both onchange and onclick. Onchange would work for keyboard navigation in single select boxes, onclick will work for mouse navigation in multiple select boxes.
Updated by Mathias Schreiber over 9 years ago
- TYPO3 Version changed from 4.4 to 7
- PHP Version set to 5.5
- Is Regression set to No