jqh 5 年之前
父節點
當前提交
da6bbf7a95
共有 1 個文件被更改,包括 4 次插入4 次删除
  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;
         }