How can I make keyboardType = "web-search" or "url" on React Native for Android?

Viewed 1480

I have my React-Native app run on Android device.

In the TextInput, I can change the keyboardType to cross-platform values like "numeric" and "email-address", etc. Now I need the keyboardType to be "web-search" or "url" but it doesn't make any changes on Android.

I follow this link: https://facebook.github.io/react-native/docs/textinput.html#keyboardtype

which has this part:

enum('default', 'email-address', 'numeric', 'phone-pad', 'ascii- capable', 'numbers-and-punctuation', 'url', 'number-pad', 'name-phone- pad', 'decimal-pad', 'twitter', 'web-search', 'visible-password')

I don't really understand how to implement this enum for keyboardType in React Native on Android.

1 Answers
Related