jqh 5 жил өмнө
parent
commit
24b6ee95ba

+ 4 - 0
src/Form/Concerns/HasFiles.php

@@ -53,6 +53,10 @@ trait HasFiles
      */
     public function findFieldByName(?string $column)
     {
+        if ($field = $this->builder->field($column)) {
+            return $field;
+        }
+        
         if (mb_strpos($column, '.')) {
             [$relation, $column] = explode('.', $column);