Bug #25820
closedmaxitems is not working correctly in tcaTree
100%
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...
Updated by Mr. Hudson about 13 years ago
Patch set 1 of change Idaf8a41fd071fc01955246f040b3ddab5be24208 has been pushed to the review server.
It is available at http://review.typo3.org/1510
Updated by Mr. Hudson about 13 years ago
Patch set 1 of change Id7d7c4651068e9891bad48e7a966febeb1d704f4 has been pushed to the review server.
It is available at http://review.typo3.org/1511
Updated by Steffen Kamper about 13 years ago
- Status changed from New to Under Review
- Target version set to 4.5.3
- % Done changed from 0 to 100
Updated by Mr. Hudson about 13 years ago
Patch set 2 of change Idaf8a41fd071fc01955246f040b3ddab5be24208 has been pushed to the review server.
It is available at http://review.typo3.org/1510
Updated by Marco Huber about 13 years ago
- Status changed from Under Review to Resolved
Applied in changeset 3019ca92f55faf650ad5981a001e323a2e91eab6.
Updated by Oliver Hader almost 13 years ago
- Status changed from Resolved to Closed