As a web developer, how can I disable 1Password filling for a specific field?

Options
124»

Comments

  • Hey @comter, @yabdab,

    I'm sorry for the delayed response, I have reached out to the team for advice on this one and will let you know when I have any more information.

  • ag_michaelc
    edited September 2023
    Options

    Hi @comter @yabdab et al. I just wanted to let you know I've resolved the issues you reported with the 1pignore attribute. This will be fixed in a future update. I appreciate the handy test site! 🙂

    ref: https://gitlab.1password.io/dev/core/core/-/merge_requests/19267

  • comter
    comter
    Community Member
    Options

    @yabdab It looks like v2.16.0 of the 1Password browser plugin has taken care of all the issues that were listed on my test table. Can you confirm that your example is also working correctly now?

    Thanks @ag_michaelc and @steph.giles for dealing with and fixing the issues.

  • yabdab
    yabdab
    Community Member
    Options

    @comter looks good on my test form 👍

  • Thanks for confirming @comter, @yabdab.

    Let us know if there's anything else we can help with at all.

  • Aalk
    Aalk
    Community Member
    Options

    @steph.giles Can the data-1p-ignore attribute also be supported for textarea elements (not just input elements)?

    In my testing, a textarea element with placeholder text containing "email address" triggers 1P's autofill, regardless of the data-1p-ignore attribute.

  • comter
    comter
    Community Member
    Options

    I've updated the test table at https://www.comter.codes/data-1p-ignore/test/ with the request by @Aalk. Are you collecting more than one email address? Otherwise, I'm not sure why you'd use a textarea for an email address field?

  • Aalk
    Aalk
    Community Member
    Options

    Thanks for updating the test cases!

    Yes, we're allowing users to enter more than one email address.

  • ag_michaelc
    edited January 30
    Options

    Can the data-1p-ignore attribute also be supported for textarea elements (not just input elements)?

    @Aalk I just submitted a merge request to fix this. Thanks for reporting; you'll see it fixed in a future release. 😃

    ref: dev/core/core#27556

  • comter
    comter
    Community Member
    Options

    As of 1Password browser plugin v2.21.0 the textarea issue has been fixed and I've updated the test conditions at https://www.comter.codes/data-1p-ignore/test/ to reflect this update. @Aalk can you confirm that textarea with data-1p-ignore is now working as expected?