Browse Source

Merge branch '2.0' of https://github.com/pianzhou2021/dcat-admin-fix-issue-1742 into 2.0

pianzhou2021 3 years ago
parent
commit
9744a4d29e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/Form/Field/Embeds.php

+ 1 - 1
src/Form/Field/Embeds.php

@@ -278,7 +278,7 @@ class Embeds extends Field
     public function findFieldByName($name)
     {
         return $this->buildEmbeddedForm()->fields()->first(function (Field $field) use ($name) {
-            return $field->column() === $name;
+            return $field->column() == $name;
         });
     }
 }