Support autofilling the abbreviation of states/provinces if the maxlength of an input is set to 2

NEW
Assigned to

Status

()

Toolkit
Form Autofill
18 days ago
17 days ago

People

(Reporter: Ovidiu, Assigned: steveck)

Tracking

(Blocks: 1 bug)

59 Branch
Points:
---

Firefox Tracking Flags

(firefox59 affected)

Details

(Reporter)

Description

18 days ago
[Affected versions]:

Tested on Nightly 59.0a1(2018-01-04)

[Affected platforms]:

Tested on Mac 10.12 and Windows 10

[Steps to reproduce]:

Prerequisites:
 1. Make a profile where you have the country selected to Canada and the Province name is in English or Franch.
2. We used a VPN to connect to apple.ca

 
1. Go to www.apple.ca and buy an item -> proceed to checkout 
2. Into Shipping address field select a saved profile.


[Expected result]:

Province field has the correct abbreviation. 

[Actual result]:

In the province field, the autofill is using the first 2 letters from the selected province name.  

Note: Here is a video of the actual results: https://streamable.com/h9qyl
(Reporter)

Updated

18 days ago
Whiteboard: [form autofill: V2]
(Assignee)

Comment 1

17 days ago
We'll need to be able to detect whether the input field is address level 1 with max length = 2 and try to look up the abbreviation in this case.
(Assignee)

Updated

17 days ago
Assignee: nobody → schung

Updated

17 days ago
Whiteboard: [form autofill: V2] → [form autofill:V2][Misc.]

Comment 2

17 days ago
We currently don't have a plan/spec to support adapting the address-level1 data to the maxlength restriction of an input element in V2. I'd like to keep this bug open as a feature request, but it shouldn't be a blocker of V2 scope.
Blocks: 1020819
No longer blocks: 1405266
Summary: On apple.ca the "Province" field is not updated correctly → Support autofilling the abbreviation of states/provinces if the maxlength of an input is set to 2
Whiteboard: [form autofill:V2][Misc.]
You need to log in before you can comment on or make changes to this bug.