Browse Source

custom_fields

peterguo 1 week ago
parent
commit
12f8bc7f45
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/Http/Requests/API/Task/CreateOrUpdateRequest.php

+ 1 - 1
app/Http/Requests/API/Task/CreateOrUpdateRequest.php

@@ -33,7 +33,7 @@ class CreateOrUpdateRequest extends FormRequest
     {
         $rules = $this->generalRules();
 
-        $taskRules = $this->customFieldRuleByGroup("task", ['doc_type', 'task_type', 'doc_stage', "state", "suitability"]);
+        $taskRules = $this->customFieldRuleByGroup("task");
 
         if ($this->has("naming_rule_id") && $this->get("naming_rule_id") > 0) {
             $this->namingRuleCheck($this->get("naming_rule_id"));