Bug #94090
openUnexpected form validation with fal image
0%
Description
If you have mandatory fields and fal image elements on the same form, you can choose and save an image even though you didn't fill in the mandatory field. Then it is also possible to close the form although you didn't fill in the mandatory field.
I would expect, that as long as mandatory fields are not filled in, it should not be possible to save (new) form data. Otherwise it gives you a undefined state. The user believes everything is alright and does not scrutinize the saved data anymore.
The question now arises whether this behavior is wanted?
This issue came out also in connection with https://forge.typo3.org/issues/94050 .
Files
Updated by Sebastian Swan almost 3 years ago
I'm having the same issue. I have a content element with several required text fields and a required FAL image field. Once I select an image, the required mark/check for the other fields disappears and I'm able to save the TCA-Form even though they are still empty.
I did a quick check and it seems this was introduced with 10.4.13, as it is still working when I downgrade to 10.4.12.
Possibly related to: https://forge.typo3.org/issues/94110