You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to implement a search by MAC address, but after I type a colon, the results go blank. It does work with other characters like dash (-) but not happening with a colon. Am I doing something wrong? Is there a way to enable search with a colon ( : )?
Hi,
Amazing library, thanks.
I'm trying to implement a search by MAC address, but after I type a colon, the results go blank. It does work with other characters like dash (-) but not happening with a colon. Am I doing something wrong? Is there a way to enable search with a colon ( : )?
Search term: "B7:27:EB:4C:A6:FE"
`
const [criteria, setCriteria] = useState([]);
<SearchInput
onChangeText={(text) => setText(text)}
style={global.input}
placeholder="Search"
clearIcon={
<FontAwesomeIcon
icon={!text ? 'search' : 'times-circle'}
size=20
style={global.searchTimes}
/>
}
inputViewStyles={global.searchBar}
clearIconViewStyles={global.searchIconContainer}
/>
<FlatList
data={data.filter(createFilter(text, criteria))}
...
`
The text was updated successfully, but these errors were encountered: