eduardosuruagy Posted May 29, 2019 Share Posted May 29, 2019 2 hours ago, 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");'); Where do I put this code? Link to comment Share on other sites More sharing options...
eduardosuruagy Posted May 29, 2019 Share Posted May 29, 2019 2 hours ago, 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");'); Where do I put this code? Link to comment Share on other sites More sharing options...
ikaurov Posted May 31, 2019 Share Posted May 31, 2019 For example in 'UnimFormShow' of Mobile Form. Link to comment Share on other sites More sharing options...
eduardosuruagy Posted May 31, 2019 Share Posted May 31, 2019 Is it for vcl? 4 hours ago, ikaurov said: Por exemplo, em 'UnimFormShow' do Mobile Form. Link to comment Share on other sites More sharing options...
x11 Posted November 25, 2020 Share Posted November 25, 2020 On 5/29/2019 at 2:35 PM, ikaurov said: But this one works good: UniSession.AddJS('$("input").attr("autocomplete", "off");'); not work for me Link to comment Share on other sites More sharing options...
x11 Posted December 2, 2020 Share Posted December 2, 2020 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 More sharing options...
shawdown Posted December 6, 2022 Share Posted December 6, 2022 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. 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now