Update search-bar's placeholder (#4524) [ci skip]
This commit is contained in:
parent
7423d05af6
commit
4c15d2e289
4 changed files with 4 additions and 4 deletions
|
|
@ -21,7 +21,7 @@ export const SearchForm = ({
|
|||
type="text"
|
||||
name="q"
|
||||
id={searchBoxId}
|
||||
placeholder="search"
|
||||
placeholder="Search (Press '/' to focus)"
|
||||
autoComplete="off"
|
||||
aria-label="search"
|
||||
onKeyDown={onSearch}
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@ exports[`<Search /> renders properly 1`] = `
|
|||
id="nav-search"
|
||||
name="q"
|
||||
onKeyDown={[Function]}
|
||||
placeholder="search"
|
||||
placeholder="Search (Press '/' to focus)"
|
||||
type="text"
|
||||
value=""
|
||||
/>
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@ exports[`<SearchForm /> renders properly when given search functions and a searc
|
|||
id="nav-search"
|
||||
name="q"
|
||||
onKeyDown={[MockFunction]}
|
||||
placeholder="search"
|
||||
placeholder="Search (Press '/' to focus)"
|
||||
type="text"
|
||||
value="hello"
|
||||
/>
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@
|
|||
<div id="nav-search-form-root">
|
||||
<div class="nav-search-form">
|
||||
<form acceptCharset="UTF-8" method="get">
|
||||
<input class="nav-search-form__input" type="text" name="q" id="nav-search" placeholder="search" autoComplete="off" />
|
||||
<input class="nav-search-form__input" type="text" name="q" id="nav-search" placeholder="Search (Press '/' to focus)" autoComplete="off" />
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue