From 787c673249ad30322b82419058052437378a3132 Mon Sep 17 00:00:00 2001 From: Sergei Maertens Date: Mon, 23 Oct 2023 15:01:57 +0200 Subject: [PATCH] :bug: [open-formulieren/open-forms#2656] Fix address autofill scope 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 --- src/formio/components/TextField.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/formio/components/TextField.js b/src/formio/components/TextField.js index a046d5dcd..c24e0e1cc 100644 --- a/src/formio/components/TextField.js +++ b/src/formio/components/TextField.js @@ -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; } }