Closed adronitis closed 3 years ago
to confirm, are you getting autocomplete="off"
in the outputted html?
<input type="text" autocomplete="off" aria-autocomplete="list" aria-activedescendant="" aria-controls="demo-autosuggest-autosuggest__results" id="autosuggest__input" placeholder="Search" class="">
I don't use safari, but as I understand it, this is what prevents the browser for popping up suggestions.
I don't believe they respect autocomplete anymore. But here is the outputted HTML code.
<input type="text" autocomplete="off" aria-autocomplete="list" aria-activedescendant="" aria-controls="autosuggest-autosuggest__results" id="autosuggest__input" placeholder="Item name" name="item_id_552" class="">
However, I made some more tests. On the codesandbox.io you provided, I cannot reproduce the issue on my Safari. But if I copy the exact same code, on my app, the prefill get pops up. I cannot conclude what conflict or issue might have, but is weird since as far as I know that only the name attribute should have an influence on this if is, name..email.. etc.
vue-autosuggest
version: v2.2.0node
version: v12.10.0npm
(oryarn
) version: 1.17.3Relevant code or config
What you did:
Put vue-autosuggest inside a v-for with the demo data.
What happened:
I get prompt the Safari auto prefill contact as soon as I type one letter, and there is no way I can disable it (unless in browser setting). No idea how to resolve this yet.