Merge branch 'fix-category-search-on-home' into 'main'
fix: category search input cannot be cleared See merge request thschleicher/interaktive-systeme!50
This commit is contained in:
commit
ea64b54de2
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