Actions
Bug #95010
openeval required broken for selectMultipleSideBySide
Status:
Accepted
Priority:
Should have
Assignee:
Category:
Backend User Interface
Target version:
Start date:
2021-08-27
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
10
PHP Version:
7.3
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
I got a selectMultipleSideBySide field which provides a selection of locations.
This field is required via `'eval' => 'required'`
There seems to be an issue that got introduce within the last ~4 versions of v10.4 i guess.
Even if something is selected, the field is marked as required. (see Screenshot)
- you can add and remove (or the other way round) an item to get rid of the
- switch to `'minitems' => 1`
My config for testing:
'locations' => [ 'exclude' => 1, 'label' => 'Standorte', 'config' => [ 'type' => 'select', 'renderType' => 'selectMultipleSideBySide', 'eval' => 'required', 'items' => [ ['Nürnberg 90439', 'Nürnberg 90439'], ['Fürth 90762', 'Fürth 90762'], ['Bamberg 96052', 'Bamberg 96052'], ['Erlangen 91056', 'Erlangen 91056'], ['Regensburg 93047', 'Regensburg 93047'], ], ], ],
Files
Updated by Andreas Kienast over 2 years ago
- Status changed from New to Accepted
- Assignee set to Andreas Kienast
Actions