sonata-project/SonataAdminBundle — pull request #1407 by EmmanuelVella (2013-06-14 10:42:56+00:00)
Title: Cancel HTML5 validation on deleted inline form rows

When checking the "delete" checkbox of an inline form, the HTML5 validation of the corresponding row fields prevents us to submit the form.

This PR removes the required attribute and hide errors messages when a row is marked as deleted, so the form can be submitted. If the delete checkbox is uncheck, it restores the required attribute and show again the errors.