[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",
|
"address-line-2",
|
||||||
"addr-2",
|
"addr-2",
|
||||||
"street-2",
|
"street-2",
|
||||||
|
"address-ext",
|
||||||
];
|
];
|
||||||
|
|
||||||
static readonly Address3FieldNames: string[] = [
|
static readonly Address3FieldNames: string[] = [
|
||||||
|
@ -409,6 +410,7 @@ export class IdentityAutoFillConstants {
|
||||||
"zip-code",
|
"zip-code",
|
||||||
"postal-code",
|
"postal-code",
|
||||||
"post-code",
|
"post-code",
|
||||||
|
"postcode",
|
||||||
"address-zip",
|
"address-zip",
|
||||||
"address-postal",
|
"address-postal",
|
||||||
"address-code",
|
"address-code",
|
||||||
|
|
|
@ -666,7 +666,14 @@ export class InlineMenuFieldQualificationService
|
||||||
|
|
||||||
return (
|
return (
|
||||||
!this.fieldContainsAutocompleteValues(field, this.autocompleteDisabledValues) &&
|
!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 (
|
return (
|
||||||
!this.fieldContainsAutocompleteValues(field, this.autocompleteDisabledValues) &&
|
!this.fieldContainsAutocompleteValues(field, this.autocompleteDisabledValues) &&
|
||||||
this.keywordsFoundInFieldData(field, IdentityAutoFillConstants.AddressFieldNames, false)
|
this.keywordsFoundInFieldData(field, IdentityAutoFillConstants.StateFieldNames, false)
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue