Project

General

Profile

Actions

Bug #25820

closed

maxitems is not working correctly in tcaTree

Added by Rens Admiraal about 13 years ago. Updated almost 13 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
Start date:
2011-04-07
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
4.6
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

When I configure a maxitems property it does not behave like expected.

Let's say maxitems is 1, and 1 value is selected already. Expected behaviour: you've to unselect the item before you can select a new one. The behaviour is: you can only unselect the item, and can't do anything else.

Let's say maxitems is 2, and 1 value is selected already: Expected behaviour, you can select a new item and have to unselect one before you can select another. Actual behaviour: you can unselect the current value, and select one new value. After that no selection is possible anymore.

It seems the counter is not reset after deselecting an item.

Steffen Kamper already has a fix ready, which is verified to work...


Related issues 1 (0 open1 closed)

Is duplicate of TYPO3 Core - Bug #25347: TCA type "select", renderMode "tree", maxitems = 1 doesn't workClosed2011-03-16

Actions
Actions

Also available in: Atom PDF