mirror of
https://github.com/discourse/discourse.git
synced 2024-11-26 19:13:39 +08:00
A11Y: gives autocomplete in search a more accessible name (#12164)
s/discourse/discourse-search
This commit is contained in:
parent
b7dbdec6fb
commit
74d83abcc7
|
@ -4,7 +4,7 @@ import TextField from "discourse/components/text-field";
|
||||||
import { applySearchAutocomplete } from "discourse/lib/search";
|
import { applySearchAutocomplete } from "discourse/lib/search";
|
||||||
|
|
||||||
export default TextField.extend({
|
export default TextField.extend({
|
||||||
autocomplete: "discourse",
|
autocomplete: "discourse-search",
|
||||||
|
|
||||||
@discourseComputed("searchService.searchContextEnabled")
|
@discourseComputed("searchService.searchContextEnabled")
|
||||||
placeholder(searchContextEnabled) {
|
placeholder(searchContextEnabled) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user