mirror of
https://github.com/discourse/discourse.git
synced 2024-11-29 20:24:05 -06:00
UX: disable browser's autocomplete in search menu
This commit is contained in:
parent
f3cfce4a93
commit
057d1dc077
@ -19,6 +19,7 @@ createWidget("search-term", {
|
||||
return {
|
||||
type: "text",
|
||||
value: attrs.value || "",
|
||||
autocomplete: "off",
|
||||
placeholder: attrs.contextEnabled ? "" : I18n.t("search.title")
|
||||
};
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user