Open Razvancbalaci opened 5 years ago
Hello, im trying to put keyboardInput = {number-pad} but it doesnt work.
Heres my code:
pinenter = ( <View style={styles.container}> <Text style={styles.title}>Insira o PIN</Text> <SmoothPinCodeInput placeholder={<View style={{ width: 10, height: 10, borderRadius: 25, opacity: 0.3, backgroundColor: 'blue', }}></View>} mask={<View style={{ width: 10, height: 10, borderRadius: 25, backgroundColor: 'blue', }}></View>} maskDelay={500} restrictToNumbers={true} password={true} cellStyle={null} cellStyleFocused={null} value={this.state.codeConf} onTextChange={codeConf => this.checkEnter(codeConf, this.state.trueCode)} keyboardInput={'number-pad'} /> </View> )
im using RN0.60
use keyboardType="number-pad"
@Razvancbalaci
Thanks for reporting and you can also use better implementation with better maintainability: https://github.com/retyui/react-native-confirmation-code-field
Hello, im trying to put keyboardInput = {number-pad} but it doesnt work.
Heres my code:
im using RN0.60