Skip to content

Commit

Permalink
🐛 [open-formulieren/open-forms#2656] Fix address autofill scope
Browse files Browse the repository at this point in the history
The 'row' and 'data' value containers are identical when used outside
of a container component, but when inside a container the row provides
the local scope. Edit grid is such a container.

Backport-of: #574
  • Loading branch information
sergei-maertens committed Oct 23, 2023
1 parent 78b1b76 commit 787c673
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/formio/components/TextField.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ class TextField extends Formio.Components.components.textfield {

fieldLogic(data, row) {
const changed = super.fieldLogic(data, row);
this.handleSettingLocationData(data);
this.handleSettingLocationData(row);
return changed;
}
}
Expand Down

0 comments on commit 787c673

Please sign in to comment.