#71323Flexform: Removing section element with empty required field prevents form saving
Description
I’ve got a flexform section which I can add elements to. One of the fields inside the section has a required attribute set.
When adding the element to the section and focusing the input field, it gets marked with a red exclamation mark. Also the “General” form tab gets marked with an exclamation mark.
I cannot save the form until I fill out the field.
Now when I remove the section element, I still cannot save the form – even though the reason for the validation failure has gone.
Happens with TYPO3 7.5, flux 7.2.3 and fluidcontent 4.3.3
Minimal fluidcontent example:
<?xml version="1.0" encoding="utf-8"?>
<html xmlns="http://www.w3.org/1999/xhtml" lang="en"
xmlns:f="http://typo3.org/ns/TYPO3/Fluid/ViewHelpers"
xmlns:flux="http://typo3.org/ns/FluidTYPO3/Flux/ViewHelpers">
<f:layout name="Content" />
<f:section name="Configuration">
<flux:form id="test" options="{group: 'FCE'}">
<flux:form.section name="settings.links" label="Links">
<flux:form.object name="link" label="Link">
<flux:field.input name="url" label="URL" required="1"/>
</flux:form.object>
</flux:form.section>
</flux:form>
</f:section>
</html>