mezzanine
mezzanine copied to clipboard
<input> autocomplete="off" not working on Chrome
Describe the bug
Chromium bug which described in https://bugs.chromium.org/p/chromium/issues/detail?id=370363#c7
Steps To Reproduce
Steps to reproduce the behavior:
- Set autocomplete="off" and type="email" on input tag
- open Chrome and still see autocomplete list
Expected behavior
Not showing any autocomplete list
Solutions
Some workarounds here
<input type="password" readonly onfocus="this.removeAttribute('readonly');"/>
這個解法會讓手機版的 input 沒辦法跳出鍵盤,解法有待討論