keyboardtype
Opened this issue · 1 comments
porknoodles commented
do you have keyboardtype?
numeric, email, etc
Amir-Taboul commented
You can change the keyboard type using textInputProps
for example for numeric type:
<Prompt
title="Say something"
placeholder="Start typing"
defaultValue="Hello"
visible={ this.state.promptVisible }
textInputProps={{keyboardType: 'number-pad'}}
/>
see all options in react doc:
https://facebook.github.io/react-native/docs/textinput.html#keyboardtype