Skip to content
Snippets Groups Projects
Commit fc7897f3 authored by Alex Pott's avatar Alex Pott
Browse files

Issue #1967112 followup by David_Rothstein, dawehner: HTML 5 validation breaks...

Issue #1967112 followup by David_Rothstein, dawehner: HTML 5 validation breaks the cancel button in Views UI dialogs.
parent d230ea68
Branches
Tags
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -322,7 +322,7 @@ public function getStandardButtons(&$form, &$form_state, $form_id, $name = NULL)
'#value' => empty($form_state['ok_button']) ? t('Cancel') : t('Ok'),
'#submit' => array($cancel_submit),
'#validate' => array(),
'#attributes' => array('formnovalidate' => ''),
'#limit_validation_errors' => array(),
);
// Compatibility, to be removed later: // TODO: When is "later"?
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment