#105595Improve handling of TCA select renderType selectTree for maxitems=1
Description
For select renderType selectMultipleSideBySide if maxitems=1 it is possible to change existing selection by just clicking another option.
For selectTree it is necessary to first unselect the first selection and select the new option. This makes it a bit inconvenient and inconsistent.
I think it would be helpful to change the behaviour for treeSelect as in selectMultipleSideBySide so a new selection unselects existing selection.
Videos
1. selectTree behaviour with maxitems=1 : e.g. change parent in sys_category: it is necessary to first unselect previous selection:
video_sys_category_maxitem_1.gif
2. selectMultipleSideBySide behavaviour with maxitem=1 : can directly change the selection
This is the behaviour I would like for selectTree as well!
video_selectMultipleSideBySide_maxitem_1.gif
Other problems with selectTree
for maxitems=1
- it might be helpful to provide a visual hint that only one option can be selected.
in general
- an X is not displayed in the input field to remove the searchTerm of the filter
- the filter does not make it possible to expand the children of the lowest filtered node. In the page tree this is possible. This is already handled in issue #105609
- there are no tooltips for the icons
Reviews 2
Related issues 1
Files 3
History 913
-
Sybille Peters changed description <span data-processor="relativetime" data-value="2024-11-15T07:11:18+00:00" > 11/15/24, 07:11 </span>
-
Sybille Peters changed description <span data-processor="relativetime" data-value="2024-11-15T07:11:40+00:00" > 11/15/24, 07:11 </span>
-
Sybille Peters changed attached pagetree_filter.gif description <span data-processor="relativetime" data-value="2024-11-15T21:02:41+00:00" > 11/15/24, 21:02 </span>
-
Sybille Peters changed description <span data-processor="relativetime" data-value="2024-11-15T21:10:39+00:00" > 11/15/24, 21:10 </span>
-
Sybille Peters changed Related to #105609 <span data-processor="relativetime" data-value="2024-11-17T10:34:40+00:00" > 11/17/24, 10:34 </span>
-
Sybille Peters changed description <span data-processor="relativetime" data-value="2024-11-17T10:54:27+00:00" > 11/17/24, 10:54 </span>
-
Sybille Peters changed attached video_sys_category_maxitem_1.gif attached video_selectMultipleSideBySide_maxitem_1.gif description <span data-processor="relativetime" data-value="2024-11-17T11:09:39+00:00" > 11/17/24, 11:09 </span>
-
Gerrit Code Review pushed patch set 1 for main to change 87007 status
NewUnder Review <span data-processor="relativetime" data-value="2024-11-17T12:49:30+00:00" > 11/17/24, 12:49 </span> -
Gerrit Code Review pushed patch set 2 for main to change 87007 <span data-processor="relativetime" data-value="2024-11-17T13:14:31+00:00" > 11/17/24, 13:14 </span>
-
Gerrit Code Review pushed patch set 3 for main to change 87007 <span data-processor="relativetime" data-value="2024-11-18T21:54:30+00:00" > 11/18/24, 21:54 </span>
-
Gerrit Code Review pushed patch set 4 for main to change 87007 <span data-processor="relativetime" data-value="2024-11-19T11:19:27+00:00" > 11/19/24, 11:19 </span>
-
Sybille Peters commented and changed status
Under ReviewResolved done0 %100 % <span data-processor="relativetime" data-value="2024-11-19T15:10:09+00:00" > 11/19/24, 15:10 </span> -
Benni Mack changed status
ResolvedClosed <span data-processor="relativetime" data-value="2025-12-02T14:33:00+00:00" > 12/02/25, 14:33 </span>
Applied in changeset commit:db010f8524d2eb9fc23a2ecc3383431a1aa1730a.