我不知道为什么在FloatLabel组件的值属性中分配值时会收到警告。 预先感谢
<FloatLabel
inputStyle={styletheme.inputLabel}
labelStyle={styletheme.labelInput}
style={styletheme.formInput}
keyboardType="email-address"
onChangeText={(email)=>this.onEmailIdChange(email)}
onBlur={(email)=>this.onEmailIdChange(email)}
onFocus={(email)=>this.onEmailIdChange(email)}
value={this.state.email.emailId}
>
E-mail id
</FloatLabel>
this.state= {
email:{
emailId:'',
emailIdError:false,
color:'rgba(255,255,255,1)'
}
}