Add onSubmitEditing listener in search.js
This commit is contained in:
parent
d0e8e0e64b
commit
de94602cd2
|
@ -171,6 +171,7 @@ const SearchJsx = ({navigation}) => {
|
||||||
style = { styles.form.input }
|
style = { styles.form.input }
|
||||||
placeholder = "Search..."
|
placeholder = "Search..."
|
||||||
autoFocus
|
autoFocus
|
||||||
|
onSubmitEditing = { _handleSearch }
|
||||||
onChangeText = {
|
onChangeText = {
|
||||||
q => setState({ ...state, query: q })
|
q => setState({ ...state, query: q })
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue