mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
UX: disable browser's autocomplete in search menu
This commit is contained in:
@@ -19,6 +19,7 @@ createWidget("search-term", {
|
||||
return {
|
||||
type: "text",
|
||||
value: attrs.value || "",
|
||||
autocomplete: "off",
|
||||
placeholder: attrs.contextEnabled ? "" : I18n.t("search.title")
|
||||
};
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user