Closed Bug 1901247 Opened 8 months ago Closed 8 months ago

Required fields for address capture should be region-aware.

Categories

(Toolkit :: Form Autofill, task, P2)

task

Tracking

()

RESOLVED FIXED
129 Branch
Tracking Status
firefox129 --- fixed

People

(Reporter: dimi, Assigned: enndeakin)

References

Details

(Whiteboard: [fxcm-addr-compatibility])

Attachments

(1 file)

In Bug 1873215, we added the extensions.formautofill.addresses.capture.requiredFields preference to ensure that address capture is triggered only when the submitted data contains those fields. However, not all countries use all the listed fields by default, which means we are unable to save addresses in those countries. To address this issue, we should determine the countryRequiredFields based on the address format specific to each region. See https://searchfox.org/mozilla-central/rev/46d0387f0b582f00a5722c20d4e6b8693793631b/toolkit/components/formautofill/shared/FormAutofillUtils.sys.mjs#1159

Assignee: nobody → enndeakin
Status: NEW → ASSIGNED
Pushed by neil@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/c935e2628e3d get the required fields from the address meta data so that it is region specific,r=credential-management-reviewers,dimi
Status: ASSIGNED → RESOLVED
Closed: 8 months ago
Resolution: --- → FIXED
Target Milestone: --- → 129 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: