Commit 53ec725c authored by Wahyu Adjie Prasetyo's avatar Wahyu Adjie Prasetyo

fix menu selection item

parent ac9f3813
......@@ -80,6 +80,7 @@ class Item extends React.Component {
<View style={{ margin: 10 }}>
<TextInput
style={styles.textInput}
onChangeText={(notes) => this.setState({ notes })}
textAlign='center'
>
......
......@@ -376,6 +376,7 @@ class MenuSelection extends React.Component {
<FlatList
data={this.state.data_before_search}
renderItem={this.renderItem}
keyExtractor={item => item.id}
ref={(ref) => { this.flatListRef = ref; }}
initialNumToRender={5}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment