We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b386af1 + 40bc63f commit d4647c9Copy full SHA for d4647c9
src/Form/AbstractJsonFormsForm.php
@@ -154,9 +154,9 @@ protected function buildJsonFormsForm(
154
*/
155
public function validateForm(array &$form, FormStateInterface $formState): void {
156
parent::validateForm($form, $formState);
157
- FormCallbackExecutor::executePreSchemaValidationCallbacks($formState);
158
159
if ($formState->isSubmitted() || $formState->isValidationEnforced()) {
+ FormCallbackExecutor::executePreSchemaValidationCallbacks($formState);
160
if (TRUE === $formState->get('$limitValidationUsed')) {
161
// We cannot use Drupal validation errors if the form uses limited
162
// validation. They might contain errors that with the submitted data
0 commit comments