この文書の現在のバージョンと選択したバージョンの差分を表示します。
| 両方とも前のリビジョン 前のリビジョン | |||
|
reactnative:textinput [2019/02/11 10:54] ips |
reactnative:textinput [2019/02/11 11:34] (現在) ips |
||
|---|---|---|---|
| ライン 43: | ライン 43: | ||
| scrollEnabled={true} | scrollEnabled={true} | ||
| numberOfLines={4} | numberOfLines={4} | ||
| - | autogrow={false} | + | autogrow={false} //セットで設定しないと効かない |
| - | maxHeight={60} | + | maxHeight={60} //セットで設定しないと効かない |
| style={{textAlignVertical:'top', borderColor: 'gray', borderWidth:1 , backgroundColor:'white',fontSize:20,borderRadius:5,margin:10}} | style={{textAlignVertical:'top', borderColor: 'gray', borderWidth:1 , backgroundColor:'white',fontSize:20,borderRadius:5,margin:10}} | ||
| onChangeText={(text) => this.setState({question:text})} | onChangeText={(text) => this.setState({question:text})} | ||