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.
1 parent b386af1 commit 40bc63fCopy full SHA for 40bc63f
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