fix: category search input cannot be cleared
This commit is contained in:
parent
7dd17798c4
commit
457b098883
1 changed files with 1 additions and 1 deletions
|
|
@ -49,7 +49,7 @@ const CategorySelectorModal: React.FC<CategorySelectorModalProps> = (props : Cat
|
|||
<View>
|
||||
<Text style={[styles.heading, {color: colors.primaryText}]}>{selectMulitple ? "Categories" : "Category"}</Text>
|
||||
</View>
|
||||
<TextInputBar placeholder='TypeToSearch' onChangeText={handleSearchText} style={{marginBottom: 10}}></TextInputBar>
|
||||
<TextInputBar placeholder='TypeToSearch' value={searchtext} onChangeText={handleSearchText} style={{marginBottom: 10}}></TextInputBar>
|
||||
<FlatList
|
||||
data={filteredCategories}
|
||||
keyExtractor={(item) => item.guid!}
|
||||
|
|
|
|||
Reference in a new issue