mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-08 09:43:42 +01:00
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'])) {
|
||||
fillFields.address3 = f;
|
||||
} else if (!fillFields.postalCode && this.isFieldMatch(f[attr],
|
||||
['postal', 'zip', 'zip2', 'zip-code', 'postal-code', 'address-zip', 'address-postal',
|
||||
'address-code', 'address-postal-code', 'address-zip-code'])) {
|
||||
['postal', 'zip', 'zip2', 'zip-code', 'postal-code', 'post-code', 'address-zip',
|
||||
'address-postal', 'address-code', 'address-postal-code', 'address-zip-code'])) {
|
||||
fillFields.postalCode = f;
|
||||
} else if (!fillFields.city && this.isFieldMatch(f[attr],
|
||||
['city', 'town', 'address-level-2', 'address-city', 'address-town'])) {
|
||||
|
Loading…
Reference in New Issue
Block a user