From 1a5cedfee1a727f351a47e54a545d02b4b762cbd Mon Sep 17 00:00:00 2001 From: Johannes Meyer Date: Tue, 13 Apr 2021 16:07:06 +0200 Subject: [PATCH] setup: Skip browser validation when validating a form manually fixes #4291 --- modules/monitoring/library/Monitoring/MonitoringWizard.php | 3 ++- modules/setup/library/Setup/WebWizard.php | 6 ++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/modules/monitoring/library/Monitoring/MonitoringWizard.php b/modules/monitoring/library/Monitoring/MonitoringWizard.php index e466d706b..17e6266e8 100644 --- a/modules/monitoring/library/Monitoring/MonitoringWizard.php +++ b/modules/monitoring/library/Monitoring/MonitoringWizard.php @@ -120,7 +120,8 @@ class MonitoringWizard extends Wizard implements SetupWizard 'ignore' => true, 'label' => t('Validate Configuration'), 'data-progress-label' => t('Validation In Progress'), - 'decorators' => array('ViewHelper') + 'decorators' => array('ViewHelper'), + 'formnovalidate' => 'formnovalidate' ) ); $page->getDisplayGroup('buttons')->addElement($page->getElement('backend_validation')); diff --git a/modules/setup/library/Setup/WebWizard.php b/modules/setup/library/Setup/WebWizard.php index 7a7e77d45..0e6fb1cbd 100644 --- a/modules/setup/library/Setup/WebWizard.php +++ b/modules/setup/library/Setup/WebWizard.php @@ -374,7 +374,8 @@ class WebWizard extends Wizard implements SetupWizard 'ignore' => true, 'label' => t('Validate Configuration'), 'data-progress-label' => t('Validation In Progress'), - 'decorators' => array('ViewHelper') + 'decorators' => array('ViewHelper'), + 'formnovalidate' => 'formnovalidate' ) ); $page->getDisplayGroup('buttons')->addElement($page->getElement('backend_validation')); @@ -389,7 +390,8 @@ class WebWizard extends Wizard implements SetupWizard 'ignore' => true, 'label' => t('Validate Configuration'), 'data-progress-label' => t('Validation In Progress'), - 'decorators' => array('ViewHelper') + 'decorators' => array('ViewHelper'), + 'formnovalidate' => 'formnovalidate' ) ); $page->getDisplayGroup('buttons')->addElement($page->getElement('transport_validation'));