[DOM] Input elements should have autocomplete attributes (suggested: autocomplete='tel', confirm at

 

译文概要:输入元素应该有自动完成的属性,比如: autocomplete=’tel’.

 

autocomplete 用途: 
此功能主要是记住输入内容,下次提交表单或者浏览器回退后,还能保持表单内容不变。

 

解决方法:添加属性autocomplete=’tel’

 

<div class="col-lg-4" id="editPwdIpt" style="display: none;">
                                              <form>
                                                <input type="password" placeholder="<?php echo t('至多8位'); ?>" id="inputPassword" class="form-control" autocomplete=’tel’>
                                              </form>
</div>

 

参考:

https://blog.csdn.net/abs1004/article/details/79614267

 

posted @ 2019-07-28 20:56  anobscureretreat  阅读(781)  评论(0编辑  收藏  举报