Closed hlynurstef closed 5 years ago
The Searchbar component should allow the same props as the TextField component as seen in the react-native-paper repo.
Now it's possible to for example use the "onSubmitEditing" when the softkey submit/search is pressed as noted in this react-native-paper issue: "Having onKeyPress on Searchbar and TextInput Components".
Use the Searchbar component with the new props.
Hi @hlynurstef thanks for your PR ! I will take a look ASAP 😄
Motivation
The Searchbar component should allow the same props as the TextField component as seen in the react-native-paper repo.
Now it's possible to for example use the "onSubmitEditing" when the softkey submit/search is pressed as noted in this react-native-paper issue: "Having onKeyPress on Searchbar and TextInput Components".
Test plan
Use the Searchbar component with the new props.