Merge pull request #21418 from blaggacao/fix-section-field-list

This commit is contained in:
Suraj Shetty 2023-06-19 11:43:08 +05:30 committed by GitHub
commit e500dcde3b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -84,7 +84,7 @@ export default class Section {
add_field(fieldobj) {
this.fields_list.push(fieldobj);
this.fields_dict[fieldobj.fieldname] = fieldobj;
this.fields_dict[fieldobj.df.fieldname] = fieldobj;
fieldobj.section = this;
}