Tag Archives: [DOM] Input elements should have autocomplete attributes (suggested: autocomplete=’tel’, …

[DOM] Input elements should have autocomplete attributes (suggested: autocomplete=’tel’, …

Input elements should have autocomplete properties, such as autocomplete =’tel ‘

Purpose of autocomplete:
this function is mainly to remember the input content and keep the form content unchanged after the next form submission or browser fallback

Solution: add attribute 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>