mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FEATURE: add autocomplete discourse on full page search
This teaches chrome not to try autocompleting it.
This commit is contained in:
parent
cbaa9c4fca
commit
077dcc0642
@ -4,6 +4,8 @@ import TextField from "discourse/components/text-field";
|
||||
import { applySearchAutocomplete } from "discourse/lib/search";
|
||||
|
||||
export default TextField.extend({
|
||||
autocomplete: "discourse",
|
||||
|
||||
@computed("searchService.searchContextEnabled")
|
||||
placeholder(searchContextEnabled) {
|
||||
return searchContextEnabled ? "" : I18n.t("search.full_page_title");
|
||||
|
Loading…
Reference in New Issue
Block a user