Closed nguyenvanphuc2203 closed 5 years ago
console.log(this.refs.sdt._lastNativeText)
undefined
<Kohana style={{ backgroundColor: '#f9f5ed',marginTop:3 }} label={'Username'} iconClass={Icon} iconName={'user'} iconColor={'#f4d29a'} labelStyle={{ color: '#91627b' }} inputStyle={{ color: '#91627b' }} useNativeDriver ref="sdt" keyboardType="numeric" />
<Sae onChangeText={(text) => { this.setState({emailValue: text}) }} />
value is obtained by this.state.emailValue
this.state.emailValue
Thanks for the answer @erspark2002.
console.log(this.refs.sdt._lastNativeText)
<Kohana style={{ backgroundColor: '#f9f5ed',marginTop:3 }} label={'Username'} iconClass={Icon} iconName={'user'} iconColor={'#f4d29a'} labelStyle={{ color: '#91627b' }} inputStyle={{ color: '#91627b' }} useNativeDriver ref="sdt" keyboardType="numeric" />