Skip to content

Disables form autofill to fix unspecified 'bugs' in Firefox, is there a less disruptive way? #29

@q--

Description

@q--

// fix autofill bugs on page refresh in Firefox
let form = telInput.closest('form');
if (form) {
form.setAttribute('autocomplete', 'off');
}

Is this still relevant? It breaks preserving the form value during session restore / undoing tab close, as well as autocomplete suggestions, for our other form fields.

I can't tell what the bugs mentioned were because the commit message or the comment don't specify.
And, if said bugs still exist, would it also be possible to turn off autocomplete just for the tel input instead of the entire form, or otherwise solve this in a way that's not as disruptive to the user experience?

I might be able to contribute a fix, but not if I don't know what problem this code is supposed to solve in the first place.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions