Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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.
Comment | File | Size | Author |
---|---|---|---|
#3 | drupal_1970342_01.patch | 1.46 KB | Xano |
#1 | drupal_1970342_00.patch | 602 bytes | Xano |
Comments
Comment #1
XanoComment #3
XanoContains a fix for the not fully ported taxonomy vocabulary form.
Comment #4
dcam CreditAttribution: dcam commentedThis is a duplicate of #216064: Entity form "Delete" button triggers server-side + HTML5 form validation; change "Delete" button to a link.
Comment #5
Xano