Quantcast
Viewing all articles
Browse latest Browse all 295804

Limit validation errors for the entity form delete button

Drupal\Core\Entity\EntityFormController::actions() creates a delete button for entity forms, but clicking does not prevent form validation from being executed. This causes both HTML5 and server-side validation to run, preventing the user from being redirected to the delete page if not form elements are filled out correctly.


Viewing all articles
Browse latest Browse all 295804


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>