Skip to content

Commit dc29bed

Browse files
author
vikasrohit
committed
AS#113534202832110, Add type being "search" for search input box in SearchBar
-- Done
1 parent 988fae3 commit dc29bed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/SearchBar/SearchBar.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ class SearchBar extends Component {
184184
: <SearchSuggestions recentSearch={ recentList } searchTerm={ this.state.searchValue } popularSearch={ popularList } onSuggestionSelect={ this.handleSuggestionSelect } />
185185
return (
186186
<div className={ sbClasses }>
187-
<input className="search-bar__text" onFocus={ this.onFocus } onChange={ this.onChange } onKeyUp={ this.onKeyUp } ref="searchValue" value={this.state.searchValue} />
187+
<input type="search" className="search-bar__text" onFocus={ this.onFocus } onChange={ this.onChange } onKeyUp={ this.onKeyUp } ref="searchValue" value={this.state.searchValue} />
188188
<span className="search-typeahead-text">{ typeaheadText }</span>
189189
<img className="search-bar__clear" src={ require('./x-mark.svg') } onClick={ this.clearSearch }/>
190190
<div className="search-icon-wrap" onClick={ this.search }>

0 commit comments

Comments
 (0)