[PM-10416] Address field is used to populate state field when adding identity cipher from inline menu (#10348)
This commit is contained in:
parent
afca4c760a
commit
77d6ac88e7
|
@ -393,6 +393,7 @@ export class IdentityAutoFillConstants {
|
|||
"address-line-2",
|
||||
"addr-2",
|
||||
"street-2",
|
||||
"address-ext",
|
||||
];
|
||||
|
||||
static readonly Address3FieldNames: string[] = [
|
||||
|
@ -409,6 +410,7 @@ export class IdentityAutoFillConstants {
|
|||
"zip-code",
|
||||
"postal-code",
|
||||
"post-code",
|
||||
"postcode",
|
||||
"address-zip",
|
||||
"address-postal",
|
||||
"address-code",
|
||||
|
|
|
@ -666,7 +666,14 @@ export class InlineMenuFieldQualificationService
|
|||
|
||||
return (
|
||||
!this.fieldContainsAutocompleteValues(field, this.autocompleteDisabledValues) &&
|
||||
this.keywordsFoundInFieldData(field, IdentityAutoFillConstants.Address1FieldNames, false)
|
||||
this.keywordsFoundInFieldData(
|
||||
field,
|
||||
[
|
||||
...IdentityAutoFillConstants.AddressFieldNames,
|
||||
...IdentityAutoFillConstants.Address1FieldNames,
|
||||
],
|
||||
false,
|
||||
)
|
||||
);
|
||||
};
|
||||
|
||||
|
@ -730,7 +737,7 @@ export class InlineMenuFieldQualificationService
|
|||
|
||||
return (
|
||||
!this.fieldContainsAutocompleteValues(field, this.autocompleteDisabledValues) &&
|
||||
this.keywordsFoundInFieldData(field, IdentityAutoFillConstants.AddressFieldNames, false)
|
||||
this.keywordsFoundInFieldData(field, IdentityAutoFillConstants.StateFieldNames, false)
|
||||
);
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue