ext:form restor "min items > 1" behavior within the Inspector-PropertyGridEditor
With #80420 we accidentally lost the behavior that an inspector editor with type "Inspector-PropertyGridEditor" must contain at least one item to be valid.
Since (#80420) we now have the use cases that an "Inspector-PropertyGridEditor" editor can also contain no items.
- restore the warning flash message if the user want to delete the last item
- make the "Inspector-PropertyGridEditor" configurable to avoid the warning flash message if the user want to delete the last item
#1 Updated by Gerrit Code Review 11 months ago
- Status changed from New to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/60615
#4 Updated by Mathias Brodala 4 months ago
As discussed: the property grid editor already properly marks the whole field as "required" as long as no item was added. Saving the form is impossible in this case. This was verified once more with recipients of the mail finisher and items of a multi-select form element: