Answers for "react native textInput numbers only"

0

react native textInput numbers only

<TextInput 
   style={styles.textInput}
   keyboardType='numeric'
   onChangeText={(text)=> this.onChanged(text)}
   value={this.state.myNumber}
   maxLength={10}  //setting limit of input
/>
Posted by: Guest on July-21-2021

Code answers related to "react native textInput numbers only"

Browse Popular Code Answers by Language