آموزش جاوااسکریپت › انجمن ها › react native › textinput متریال دیزاین › پاسخ به: textinput متریال دیزاین
ژانویه 20, 2019 در 11:50 ق.ظ
#25378
sardarmz
مشارکت کننده
با این تیکه کد مشکل من حل شد
JavaScript
1 2 3 4 5 6 7 8 9 10 11 12 |
<Item floatingLabel style={[styles.content_item_Fname, {borderColor: this.state.color_F_name}]}> <Label style={{color: this.state.color_F_name}}>نام</Label> <Input onFocus={() => { this.setState({color_F_name: '#662d91'}) }} onEndEditing={() => this.setState({color_F_name:'#c0c0c0'})} onChangeText={(text) => this.setState({F_name: text})} /> </Item> |