UX: workaround chrome autocomplete bug in search

This works around issue mentioned in 918a0ea3
This commit is contained in:
Sam Saffron
2019-08-26 10:27:43 +10:00
parent 5aa9a567f8
commit b93460cb59

View File

@@ -19,7 +19,7 @@ createWidget("search-term", {
return { return {
type: "text", type: "text",
value: attrs.value || "", value: attrs.value || "",
autocomplete: "off", autocomplete: "discourse",
placeholder: attrs.contextEnabled ? "" : I18n.t("search.title") placeholder: attrs.contextEnabled ? "" : I18n.t("search.title")
}; };
}, },