Jump to content

Autofill how to turn off


RobYost

Recommended Posts

  • 1 year later...
On 12/5/2017 at 10:00 PM, RobYost said:

<form method="post" action="/form" autocomplete="off">

 

  uniEdit1.ClientsEvents.ExtEvents:

function afterrender(sender, eOpts)
{
  var me = sender.inputEl;
  me.el.dom.setAttribute('autocomplete', 'current-password');
  me.el.dom.setAttribute('name', 'current-password');


}

https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#attr-fe-autocomplete-current-password

Link to comment
Share on other sites

  • 2 years later...
On 5/29/2019 at 8:35 AM, ikaurov said:

This solution did not help me:

sender.element.dom.setAttribute('autocomplete', 'off');

  But this one works good:

UniSession.AddJS('$("input").attr("autocomplete", "off");');

Thanks.

For me it worked using "new-password".
The only detail I couldn't do was hide the saved passwords popup when logging in.

  • Like 1
Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...