Gets rid of line break in note "Enter" instead of "En-ter"

This commit is contained in:
emelko
2018-08-30 21:39:53 +02:00
parent 7c1cd18b1c
commit 5cdf73cea6
+11 -13
View File
@@ -112,19 +112,17 @@ export default class Pain extends Component {
}} }}
/> />
</View> </View>
<View style={styles.symptomViewRowInline}> { this.state.other &&
{ this.state.other && <TextInput
<TextInput autoFocus={this.state.focusTextArea}
autoFocus={this.state.focusTextArea} multiline={true}
multiline={true} placeholder="Enter"
placeholder="Enter" value={this.state.note}
value={this.state.note} onChangeText={(val) => {
onChangeText={(val) => { this.setState({note: val})
this.setState({note: val}) }}
}} />
/> }
}
</View>
</View> </View>
</ScrollView> </ScrollView>
<ActionButtonFooter <ActionButtonFooter