This commit is contained in:
Noé Fleury 2024-05-17 17:20:55 -04:00 committed by GitHub
commit 166a26ac02
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 1 deletions

View File

@ -1348,7 +1348,10 @@ class CollectAutofillContentService implements CollectAutofillContentServiceInte
continue;
}
const cachedAutofillFieldElement = this.autofillFieldElements.get(formFieldElement);
let cachedAutofillFieldElement = this.autofillFieldElements.get(formFieldElement);
if (!cachedAutofillFieldElement) {
cachedAutofillFieldElement = (await this.buildAutofillFieldsData([formFieldElement]))[0];
}
cachedAutofillFieldElement.viewable = true;
void this.autofillOverlayContentService?.setupAutofillOverlayListenerOnField(