Merge remote-tracking branch 'michaelabon/stop-password-managers-address-fields' into develop

This commit is contained in:
Martin Raifer
2024-12-18 15:40:22 +01:00
2 changed files with 7 additions and 0 deletions
+3
View File
@@ -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
+4
View File
@@ -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');
}