Skip to content

Commit 8812fb4

Browse files
mfilipcblanc
authored andcommitted
fix(anchor): update postcode lookup anchor from line_2 to line_1 field
1 parent 996d683 commit 8812fb4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/extension.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ export const setupPostcodeLookup = (
193193
},
194194
{
195195
getScope: (anchor: HTMLElement) => getParent(anchor, "FORM"),
196-
anchor: outputFields.line_2,
196+
anchor: outputFields.line_1,
197197
onAnchorFound(options) {
198198
const { scope } = options;
199199
const targets = getFields(outputFields, scope);

0 commit comments

Comments
 (0)