WebApp Developer: Disable 1Password Prompt?

cstrat
cstrat
Community Member
edited January 2015 in Mac

Just wondering if there is any code I can put into my webapp to stop 1Password from prompting users to save their password.

The example I have is on the registration form, whenever there is an error a div pops up to alert the user of their error.
When the user clicks OK to clear the div 1Password pops up asking to save the password.

I am hoping that there is a data attribute or something that I can add to my dialogue buttons which will stop the prompt from triggering...

Comments

  • littlebobbytables
    littlebobbytables
    1Password Alumni

    Hi @cstrat‌

    To the best of my knowledge there isn't anything you could put into your page to stop the pop-up. I'm going to try and get somebody far more knowledgable to stick their head in though as maybe they can make a suggestion on how to alter the page so the two get along better.

    Can I ask, the pop-up, is it when they try to submit the forum or as soon as the focus is moved to another field? (so as to alert the user straight away to the bad data).

  • cstrat
    cstrat
    Community Member

    Sorry I really could have explained the situation better!

    So I have a small webapp, and during development I have been testing it out myself checking alerts and whatnot.
    When I am on the login page, and enter my details and press 'login' the 1password prompt appears.
    If the password is incorrect, the webapp receives a rejection without the page reloading, then a modal window will pop up letting the user know the issue. The button to clear that modal window also triggers the 1password prompt.

    In explaining this I think I might have an easy solution.
    I think if I clear the password field before that prompt appears, it might stop 1password from triggering.
    However I was hoping there might be some API you have which lets developers signal to 1password to ignore that button...

  • Hello @cstrat,

    That's an interesting problem you describe. I'm not sure of the best solution for this yet, but I'd love to work with you and find one that works well for you. Would it be possible for me to test the page directly myself so I can fully understand what is happening?

    If not, one idea that I think will work is if you rename your button in your modal window popup. I'm guessing that it currently contains the text "login" or "sign in", such as "failed to login". Try renaming it to OK or something similar and see if that works.

    Please let us know how it turns out.

    Cheers!

  • cstrat
    cstrat
    Community Member

    The button says 'Continue'.
    I will try clearing the password field, and will also try changing the button text to something totally unrelated.

    FYI - I am building the app using Meteor, so I haven't even put name attributes on all the buttons as I typically bind events to them through the template system.

    Thanks for the help, it's really not a big issue because it will be mainly a mobile app. I just assumed there would be something I could do to disable the prompt...

  • Thanks for the update, @cstrat‌.

    I took a shot in the dark w.r.t. the button title you choose and I obviously picked the wrong one :) It turns out that "continue" is also one of the button titles we use when determining if a button click is related to autosave or not. I suspect changing that will avoid the issue entirely, but there are other things we look for so I won't know for certain until I can see the page.

    We can add something to prevent autosave on particular forms, but at the moment this isn't available. I will probably add it for you in the next few days if you cannot find an easy workaround :)

  • blacksails
    blacksails
    Community Member

    I would like this aswell.

  • Megan
    Megan
    1Password Alumni

    Hi @blacksails,

    Thanks for letting us know that you're interested in something like this!

  • epatric
    epatric
    Community Member

    My button text is "Arrange call".

    1password asks to save the password and whether I select Yes or cancel the form does not submit. It would be great if an attribute on the form could disabled 1password - not all forms with passwords need saving.

    @dteare said "I will probably add it for you in the next few days if you cannot find an easy workaround "

    Did it get added?

    Thanks

  • Can you share a URL, @epatric, so I can take a look and see what's happening?

This discussion has been closed.