As a web developer, how can I disable 1Password filling for a specific field?
Comments
-
-
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
2 -
@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.
1 -
-
@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.
0 -
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?
0 -
Thanks for updating the test cases!
Yes, we're allowing users to enter more than one email address.
0 -
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
1 -
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?
0