mirror of
https://github.com/bitwarden/browser
synced 2025-01-12 10:27:20 +01:00
add street to address detection
This commit is contained in:
parent
047547169a
commit
58a267243a
2
jslib
2
jslib
@ -1 +1 @@
|
||||
Subproject commit bf260819bb303d125379c92e712f762fe17f043c
|
||||
Subproject commit 43ac05d1fc89a5132bd2eb632a85e608e2548252
|
@ -610,19 +610,19 @@ export default class AutofillService implements AutofillServiceInterface {
|
||||
fillFields.email = f;
|
||||
break;
|
||||
} else if (!fillFields.address && this.isFieldMatch(f[attr],
|
||||
['address', 'street-address', 'addr'], [])) {
|
||||
['address', 'street-address', 'addr', 'street'], [])) {
|
||||
fillFields.address = f;
|
||||
break;
|
||||
} else if (!fillFields.address1 && this.isFieldMatch(f[attr],
|
||||
['address-1', 'address-line-1', 'addr-1'])) {
|
||||
['address-1', 'address-line-1', 'addr-1', 'street-1'])) {
|
||||
fillFields.address1 = f;
|
||||
break;
|
||||
} else if (!fillFields.address2 && this.isFieldMatch(f[attr],
|
||||
['address-2', 'address-line-2', 'addr-2'])) {
|
||||
['address-2', 'address-line-2', 'addr-2', 'street-2'])) {
|
||||
fillFields.address2 = f;
|
||||
break;
|
||||
} else if (!fillFields.address3 && this.isFieldMatch(f[attr],
|
||||
['address-3', 'address-line-3', 'addr-3'])) {
|
||||
['address-3', 'address-line-3', 'addr-3', 'street-3'])) {
|
||||
fillFields.address3 = f;
|
||||
break;
|
||||
} else if (!fillFields.postalCode && this.isFieldMatch(f[attr],
|
||||
|
Loading…
Reference in New Issue
Block a user