It’s Cybersecurity Awareness Month! Join our interactive training session, or learn about security and AI from 1Password experts.
Forum Discussion
senadir
4 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) ...
- 4 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