File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
client/my-sites/checkout/src/components Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -142,7 +142,7 @@ export default function TaxFields( {
142
142
)
143
143
) ;
144
144
} }
145
- autoComplete = { section + ' postal-code' }
145
+ autoComplete = { ` section- ${ section } postal-code` }
146
146
isError = { postalCode ?. isTouched && ! isValid ( postalCode ) }
147
147
errorMessage = {
148
148
postalCode ?. errors ?. [ 0 ] ?? String ( translate ( 'This field is required.' ) )
@@ -174,7 +174,7 @@ export default function TaxFields( {
174
174
)
175
175
) ;
176
176
} }
177
- autoComplete = { section + ' city' }
177
+ autoComplete = { ` section- ${ section } city` }
178
178
isError = { city ?. isTouched && ! isValid ( city ) }
179
179
errorMessage = { city ?. errors ?. [ 0 ] ?? String ( translate ( 'This field is required.' ) ) }
180
180
/>
@@ -231,7 +231,7 @@ export default function TaxFields( {
231
231
)
232
232
) ;
233
233
} }
234
- autoComplete = " organization"
234
+ autoComplete = { `section- ${ section } organization` }
235
235
/>
236
236
) ;
237
237
}
@@ -259,7 +259,7 @@ export default function TaxFields( {
259
259
)
260
260
) ;
261
261
} }
262
- autoComplete = " address"
262
+ autoComplete = { `section- ${ section } street- address` }
263
263
/>
264
264
) ;
265
265
}
Original file line number Diff line number Diff line change @@ -261,7 +261,7 @@ export function VatForm( {
261
261
} )
262
262
}
263
263
value = { vatDetailsInForm . address ?? '' }
264
- autoComplete = " address"
264
+ autoComplete = { `section- ${ section } street- address` }
265
265
disabled = { isDisabled }
266
266
onChange = { ( newValue : string ) => {
267
267
setVatDetailsInForm ( {
You can’t perform that action at this time.
0 commit comments