UX: disable browser's autocomplete in search menu

This commit is contained in:
Régis Hanol 2019-02-06 17:06:23 +01:00
parent f3cfce4a93
commit 057d1dc077
1 changed files with 1 additions and 0 deletions

View File

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