add support for "post-code" autofilling
This commit is contained in:
parent
39eb015d3e
commit
21963cb9d3
|
@ -544,8 +544,8 @@ export default class AutofillService {
|
||||||
['address-3', 'address-line-3', 'addr-3'])) {
|
['address-3', 'address-line-3', 'addr-3'])) {
|
||||||
fillFields.address3 = f;
|
fillFields.address3 = f;
|
||||||
} else if (!fillFields.postalCode && this.isFieldMatch(f[attr],
|
} else if (!fillFields.postalCode && this.isFieldMatch(f[attr],
|
||||||
['postal', 'zip', 'zip2', 'zip-code', 'postal-code', 'address-zip', 'address-postal',
|
['postal', 'zip', 'zip2', 'zip-code', 'postal-code', 'post-code', 'address-zip',
|
||||||
'address-code', 'address-postal-code', 'address-zip-code'])) {
|
'address-postal', 'address-code', 'address-postal-code', 'address-zip-code'])) {
|
||||||
fillFields.postalCode = f;
|
fillFields.postalCode = f;
|
||||||
} else if (!fillFields.city && this.isFieldMatch(f[attr],
|
} else if (!fillFields.city && this.isFieldMatch(f[attr],
|
||||||
['city', 'town', 'address-level-2', 'address-city', 'address-town'])) {
|
['city', 'town', 'address-level-2', 'address-city', 'address-town'])) {
|
||||||
|
|
Loading…
Reference in New Issue