Merged in fix/disable-autocomlete-country-and-phone (pull request #2107)

fix: disable auto-complete for Country and Phone inputs

* fix(SW-2765): disable auto-complete for Country and Phone inputs


Approved-by: Linus Flood
This commit is contained in:
Arvid Norlin
2025-05-15 12:18:42 +00:00
committed by Joakim Jäderberg
parent 31d75ffa74
commit a8fa32a802
2 changed files with 4 additions and 2 deletions

View File

@@ -30,7 +30,8 @@ import type { CountryProps } from "./country"
const prioCountryCode = ["DE", "DK", "FI", "NO", "SE"]
export default function CountrySelect({
autoComplete = "country-name",
// hack used since chrome does not respect autocomplete="off"
autoComplete = "nope",
className = "",
label,
name = "country",