Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

react native elements input phone number max characters

<TextInput
  style={{height: 40, borderColor: 'gray', borderWidth: 1}}
  onChangeText={(text) => this.setState({text})}
  value={this.state.text}
  maxLength = {8}
/>
 
PREVIOUS NEXT
Tagged: #react #native #elements #input #phone #number #max #characters
ADD COMMENT
Topic
Name
5+7 =