Skip to content

Commit e3e59f2

Browse files
author
vikasrohit
committed
AS#113534202832110, Add type being "search" for search input box in SearchBar
-- Removed type attribute for time being because it is causing style issues with typeahead text and clear icon (rendered by browser) is not working for firefox.
1 parent 9f46361 commit e3e59f2

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
@@ -193,7 +193,7 @@ class SearchBar extends Component {
193193
: <SearchSuggestions recentSearch={ recentList } searchTerm={ this.state.searchValue } popularSearch={ popularList } onSuggestionSelect={ this.handleSuggestionSelect } />
194194
return (
195195
<div className={ sbClasses }>
196-
<input type="search" className="search-bar__text" onFocus={ this.onFocus } onChange={ this.onChange } onKeyUp={ this.onKeyUp } ref="searchValue" value={this.state.searchValue} />
196+
<input className="search-bar__text" onFocus={ this.onFocus } onChange={ this.onChange } onKeyUp={ this.onKeyUp } ref="searchValue" value={this.state.searchValue} />
197197
<span className="search-typeahead-text">{ typeaheadText }</span>
198198
<img className="search-bar__clear" src={ require('./x-mark.svg') } onClick={ this.clearSearch }/>
199199
<div className="search-icon-wrap" onClick={ this.search }>

0 commit comments

Comments
 (0)