Input keyboard type on React Native
Setting the keyboard type for input fields helps user entering data. For example, if users need to enter a number, it helps to show a numeric keyboard. If users need to enter an e-mail address, it helps if the at-key (
@) is shown. You should always set an appropriate keyboard type.
In React Native, you can set a keyboard type by using the
The following values work across platforms:
The following values work on iOS only:
The following values work on Android only:
<TextInput keyboardType="email-address" />