Getting started with 1Password for your growing team, or refining your setup? Our Secured Success quickstart guide is for you.
Forum Discussion
senadir
3 months agoNew Contributor
Adding data-1p-ignore dynamically isn't respected
Struggling with an issue in which I want to disable 1Password dynamically (after the string in the input is 3 letters or more). This seems to work with a hack (remove the item and then add it again) ...
- 3 months ago
Hello senadir​! 👋
Thank you for reaching out. When a user clicks into a field, 1Password will analyze the page and note whether data-1P-ignore has been used. After this initial analysis, the field type is cached and isn't analyzed again. This explains the behaviour that you're seeing.
I brought this up internally and one suggestion was to use aria-expanded = true and role="combobox" when your search/suggestions is open since that should close 1Password's inline menu. I'm not a developer myself but I wanted to share this in case it helps with your use case.
-Dave
senadir
2 months agoNew Contributor
Thanks, we do set those attributes but they don't seem to be respected, at least in safari
1P_Phil
Moderator
2 months agoHi senadir​ ,
Thanks for letting us know, I'll add it to the internal note from 1P_Dave​ .
Regards,
Phil & Dave