Jump to content

Google Chrome autofill incorrectly fill all password related edits on different forms with same text.


rgreat

Recommended Posts

On login form i have TUniEdit component with name "PasswordEdit" 

PasswordEdit.PasswordChar='*'

 

At login Google Chrome asks you to store password:

post-2265-0-73757500-1518624542_thumb.jpg

Press "Save".

 

On a completely different form in same application i have TUniEdit component with name "UniEdit5".

UniEdit5.PasswordChar='*'

 

When i open this form Google Chrome overwrite UniEdit5.text with password saved from LoginDlg.PasswordEdit.Text.

 

That's totally unacceptable behaviour.

  • Upvote 1
Link to comment
Share on other sites

Can you try this approach for now ?!:

 

MainForm -> UniEdit1 -> ...

function afterrender(sender, eOpts)
{
    var me=sender.inputEl;      
    me.set({
        readonly: "readonly"
    });
    
    sender.addListener(
        'focus',
        function(sender, e, eOpts) {
            me.el.dom.removeAttribute('readonly');
        }
    );
}

http://forums.unigui.com/index.php?/topic/8175-browser-promping-save-of-username-passwords/&do=findComment&comment=41783

  • Like 3
  • Upvote 1
Link to comment
Share on other sites

  • 2 years later...

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...