We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
iPhone 13 mini Firefox 134.1
Result = A pink message appears with a script error (see attached screenshot)
The error pops up again, each time a dropdown is tapped.
The text was updated successfully, but these errors were encountered:
The issue is likely an issue in Firefox for iOS, as the error originates in the Firefox extension responsible for autofill of forms:
onFocusIn(e) { const t = e.target; if (this.identifyFieldsWhenFocused(t), !this.activeFieldDetail) return; if (!this.activeSection.isValidSection()) return; const a = this.transformToFieldNamesWithValues(this.activeSection.fieldDetails); i.FormAutofillUtils.isAddressField(this.activeFieldDetail.fieldName) ? this.callbacks.address.autofill(a) : i.FormAutofillUtils.isCreditCardField(this.activeFieldDetail.fieldName) && (s.CreditCardRecord.normalizeFields(a), this.callbacks.creditCard.autofill(a)) }
The error is triggered in the line with if (!this.activeSection.isValidSection()) because this.activeSection evaluates to undefined.
if (!this.activeSection.isValidSection())
this.activeSection
Other lines access this.activeSection with optional chaining, probably this should be done here as well.
Instead of
if (!this.activeSection.isValidSection()) return;
the following would be my suggested fix:
if (!this.activeSection?.isValidSection()) return;
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
iPhone 13 mini
Firefox 134.1
Result = A pink message appears with a script error (see attached screenshot)
The error pops up again, each time a dropdown is tapped.
The text was updated successfully, but these errors were encountered: