Mehmet Emin Posted July 9, 2020 Posted July 9, 2020 How can I add autocomplete attributes to an input element? [DOM] Input elements should have autocomplete attributes (suggested: "new-password"): (More info: https://goo.gl/9p2vKq) <input tabindex="140" class="x-input-el" id="ext-element-40" type="password" name="O5E" placeholder="PIN" data-componentid="frmselectvisittypem_edtuserpin_0"> Thanks in advance Quote
Sherzod Posted July 9, 2020 Posted July 9, 2020 3 minutes ago, Mehmet Emin said: How can I add autocomplete attributes to an input element? [DOM] Input elements should have autocomplete attributes (suggested: "new-password"): (More info: https://goo.gl/9p2vKq) <input tabindex="140" class="x-input-el" id="ext-element-40" type="password" name="O5E" placeholder="PIN" data-componentid="frmselectvisittypem_edtuserpin_0"> Hello, Can you please explain what you wanted? And seems the link is invalid. Quote
Mehmet Emin Posted July 9, 2020 Author Posted July 9, 2020 https://stackoverflow.com/questions/50186223/autocomplete-new-password-and-making-them-confirm-it-via-entering-the-password-a#:~:text=Just use autocomplete%3D"new-,with the same value instantly. Google Chrome gives me a warning. I want to add an attribute to my element. Quote
Mehmet Emin Posted July 9, 2020 Author Posted July 9, 2020 like this autocomplete="new-password" Quote
Mehmet Emin Posted July 9, 2020 Author Posted July 9, 2020 function afterCreate(sender) { var me = sender.inputElement; if (me) { me.dom.setAttribute('autocomplete', 'new-password'); } } OK I've found it in the forum Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.