jqh 4 tahun lalu
induk
melakukan
89827e8ec3
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      src/Widgets/Form.php

+ 1 - 1
src/Widgets/Form.php

@@ -834,7 +834,7 @@ HTML;
 
     protected function prepareHandler()
     {
-        if (method_exists($this, 'handle')) {
+        if ($this->allowAjaxSubmit() && method_exists($this, 'handle')) {
             $addHiddenFields = function () {
                 $this->method('POST');
                 $this->action(route(admin_api_route_name('form')));