2018年6月15日 星期五

利用 autocomplete attribute 來使用自動儲存的資料

如果有看 Chrome Console 的話,就會注意到當你有表單時,有時會出現如下的警告訊息
[DOM] Input elements should have autocomplete attributes (suggested: "current-password"): (More info: https://goo.gl/9p2vKq)
This page includes a password or credit card input in a non-secure context. A warning has been added to the URL bar. For more information, see https://goo.gl/zmWq3m.