浏览代码

修复父表与hasMany存在同样字段名称时无法保存父表字段问题

jqh 4 年之前
父节点
当前提交
48d5beed21
共有 1 个文件被更改,包括 0 次插入1 次删除
  1. 0 1
      src/Form/NestedForm.php

+ 0 - 1
src/Form/NestedForm.php

@@ -283,7 +283,6 @@ class NestedForm extends WidgetForm
 
         if (method_exists($this->form, 'builder')) {
             $this->form->builder()->fields()->push($field);
-            $this->form->ignore($field->column());
             $field->attribute(Field::BUILD_IGNORE, true);
         }