Jump to content
uniGUI Discussion Forums
Sign in to follow this  
rgreat

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

Recommended Posts

Hi,

 

Sorry, can you explain a little more, or by making a simple testcase for this ?!

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

Need to analyze. It's better if you make a simple test case for this

Share this post


Link to post
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

  • Upvote 1

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×