diff --git a/CHANGELOG.md b/CHANGELOG.md index 85a03f38d..e14e21634 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -39,6 +39,7 @@ _Breaking developer changes, which may affect downstream projects or sites that #### :sparkles: Usability & Accessibility * Fix flickering when switching between background imagery layers, make switching backgrounds snappier +* Prevent password managers from autofilling tag fields ([#10508], thanks [@michaelabon]) #### :scissors: Operations #### :camera: Street-Level #### :white_check_mark: Validation @@ -63,9 +64,11 @@ _Breaking developer changes, which may affect downstream projects or sites that [#10488]: https://github.com/openstreetmap/iD/pull/10488 [#10489]: https://github.com/openstreetmap/iD/pull/10489 [#10495]: https://github.com/openstreetmap/iD/issues/10495 +[#10508]: https://github.com/openstreetmap/iD/pull/10508 [#10594]: https://github.com/openstreetmap/iD/pull/10594 [@winstonsung]: https://github.com/winstonsung/ [@Nekzuris]: https://github.com/Nekzuris +[@michaelabon]: https://github.com/michaelabon # 2.30.4 diff --git a/modules/util/util.js b/modules/util/util.js index 00acc9803..8002c0c2c 100644 --- a/modules/util/util.js +++ b/modules/util/util.js @@ -527,6 +527,10 @@ export function utilNoAuto(selection) { .attr('autocomplete', 'new-password') .attr('autocorrect', 'off') .attr('autocapitalize', 'off') + .attr('data-1p-ignore', 'true') // 1Password + .attr('data-bwignore', 'true') // Bitwarden + .attr('data-form-type', 'other') // Dashlane + .attr('data-lpignore', 'true') // LastPass .attr('spellcheck', isText ? 'true' : 'false'); }