Open Bug 1404768 Opened 2 years ago Updated Last year

[Form Autofill] Implement clear button in dropdown menu


(Toolkit :: Form Autofill, enhancement, P3)





(Reporter: ralin, Unassigned)


(Depends on 3 open bugs, Blocks 1 open bug, )


(Whiteboard: [form autofill:V2])

A tracker bug for form autofill clear button.

UX spec:
Depends on: 1404773
Blocks: fx-form-autofill
No longer blocks: 1324631
Things need to be considered/done:

1. a new binding for clear button (handle click/press)
2. clear button styling
3. styling in high-contrast mode to make distinction between preference button and clear button
4. the timing to show the dropdown with clear button and don't regress history fallback (will file another bug to discuss some scenarios)
5. don't clear the fields that weren't auto-filled by us.
6. consider which way to clear the value. Either manually setting the value to empty one after one, or bring the ability to go the original auto-filling path with an empty profile. e.g.
  name: "",
  email: "",
  organization: "",

7. follow point 6, how to restore the <select> fields? should we persist the default selected values in somewhere in the first place after page loaded?
8. add unit tests for autocomplete result
9. add mochitests for both address/credit card fields and result fallback
Depends on: 1407508
No longer depends on: 1378213
Duplicate of this bug: 1378213
The linked specification isn't precise. Clarifications are discussed in bug 1378213.
Component: Form Manager → Form Autofill
Depends on: 1410821
Depends on: 1422692
Depends on: 1422708
Depends on: 1422712
Depends on: 1422745
Depends on: 1423204
No longer depends on: 1422708
No longer depends on: 1423204
Depends on: 1423805
You need to log in before you can comment on or make changes to this bug.