Actions
Bug #94110
closedTCA setting minitems + maxitems to 1 causing all validations to fail
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Backend JavaScript
Target version:
-
Start date:
2021-05-11
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
10
PHP Version:
7.4
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
Tested on TYPO3 v10.4.15 - no third party Extensions installed
For example:
'header' => [
'config' => [
'type' => 'input',
'eval' => 'required'
],
],
'image' => [
'config' => [
'minitems' => 1,
'maxitems' => 1
]
]
- Now add a new content element (for example CType = 'textpic' on any page)
- Select an image
- Now validation for header or any other validation field will be ignored
- This is caused by the value 'minitems' => 1 and 'maxitems' => 1
- This can be reproduced with any TCA field
Actions