-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Description
laravel-tel-input/resources/js/laravel-tel-input.js
Lines 61 to 65 in 783182b
// 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
Labels
No labels