mirror of
https://github.com/discourse/discourse.git
synced 2025-01-19 12:22:45 +08:00
UX: disable browser's autocomplete in search menu
This commit is contained in:
parent
f01ca1f22d
commit
1e9a884244
|
@ -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