jqh vor 5 Jahren
Ursprung
Commit
da6bbf7a95
1 geänderte Dateien mit 4 neuen und 4 gelöschten Zeilen
  1. 4 4
      src/Form.php

+ 4 - 4
src/Form.php

@@ -610,15 +610,15 @@ class Form implements Renderable
 
         $this->prepareStepFormFields($data);
 
+        if (($response = $this->callSubmitted())) {
+            return $response;
+        }
+
         // Validate step form.
         if ($this->isStepFormValidationRequest()) {
             return $this->validateStepForm($data);
         }
 
-        if (($response = $this->callSubmitted())) {
-            return $response;
-        }
-
         if ($response = $this->handleUploadFile($data)) {
             return $response;
         }