Closed Bug 1886064 Opened 2 years ago Closed 2 years ago

Make usage of label and comment in autocomplete items more consistent

Categories

(Toolkit :: Autocomplete, enhancement)

enhancement

Tracking

()

RESOLVED FIXED
128 Branch
Tracking Status
firefox128 --- fixed

People

(Reporter: enndeakin, Assigned: enndeakin)

References

Details

Attachments

(1 file)

Currently, the label and comment fields of a result are sometimes reversed, or used in an inconsistent manner.

The plan here is to make the fields more consistent:

label - the primary label to be used on the autocomplete popup item.
value - the value to be filled in to the field.
comment - a serialized object containing any other fields.
finalCompleteValue - the value to be filled in to the field, but I couldn't find in which situation this differs from the value (all implementations that I can see just return value)

Pushed by neil@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/ac7bca16ad74 make usage of label and comment fields in autofill items more consistent, r=credential-management-reviewers,geckoview-reviewers,reusable-components-reviewers,owlish,sgalich,tgiles
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 128 Branch
Regressions: 1897351
Regressions: 1909211
See Also: → 1910073
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: