We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9b142ac commit 14000bbCopy full SHA for 14000bb
src/components/SearchBar/SearchBar.js
@@ -30,14 +30,18 @@ class SearchBar extends Component {
30
31
render() {
32
return (
33
- <form className="search-bar"
34
- onSubmit={this.handleSubmit}>
+ <form
+ id='searchBar'
35
+ className='search-bar'
36
+ onSubmit={this.handleSubmit}
37
+ >
38
<input
- type="text"
- name="search-bar"
- placeholder="Search for farms or products..."
39
+ type='text'
40
+ name='search-bar'
41
+ area-labelledby='searchBar'
42
+ placeholder='Search for farms or products...'
43
onChange={e => this.updateQuery(e.target.value)} />
- <button type="submit"><FontAwesomeIcon icon='search' /></button>
44
+ <button type='submit'><FontAwesomeIcon icon='search' /></button>
45
</form>
46
)
47
}
0 commit comments