Adding autofocus to note when there is nothing entered yet

This commit is contained in:
emelko
2018-08-31 19:49:15 +02:00
parent 895057e2f6
commit 1c95ff3488
+1
View File
@@ -27,6 +27,7 @@ export default class Note extends Component {
<ScrollView>
<View style={styles.symptomViewRow}>
<TextInput
autoFocus={!this.state.currentValue}
multiline={true}
placeholder="Enter"
onChangeText={(val) => {