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 }
|
||||
placeholder = "Search..."
|
||||
autoFocus
|
||||
onSubmitEditing = { _handleSearch }
|
||||
onChangeText = {
|
||||
q => setState({ ...state, query: q })
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue