Advertisement
anhhtz

Untitled

Oct 15th, 2018
245
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <DefaultInput placeholder={'Nhập Địa chỉ'}
  2.                                 ref={'address'}
  3.                                 value={this.state.address}
  4.                                 onChangeText={address => this.setState({ address })}
  5.                                 onSubmitEditing={() => { this.refs.phone.focus() }}
  6.                                 returnKeyType='next'
  7.                                 blurOnSubmit={false}
  8.                             />
  9.  
  10.                             <DefaultInput placeholder={'Nhập Số điện thoại'}
  11.                                 keyboardType={'phone-pad'}
  12.                                 maxLength={11}
  13.                                 ref={'phone'}
  14.                                 value={this.state.phone}
  15.                                 onChangeText={phone => this.setState({ phone })}
  16.                                 onSubmitEditing={() => { this.refs.fax.focus() }}
  17.                                 returnKeyType={'next'}
  18.                                 blurOnSubmit={false} />
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement