Jump to content

Recommended Posts

Posted

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
 

Posted
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.

Posted

function afterCreate(sender)
{
   var me = sender.inputElement;
   if (me) {
      me.dom.setAttribute('autocomplete', 'new-password');
   }   
}

OK I've found it in the forum

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...