Home > Blockchain >  keyboardType 'number-pad' doesn't work on android emulator or android device
keyboardType 'number-pad' doesn't work on android emulator or android device

Time:05-18

I am quite new on react-native. I have tried to build simple app. TextInput component's prop keyboardType 'number-pad' doesn't work properly. I dont understand why. Help me.

CodePudding user response:

in the TextInput props, try using keyboardType ={'phone-pad'}

<TextInput keyboardType = {'phone-pad'}>

  • Related