convert query to lowercase before performing search (#2770)
This commit is contained in:
parent
a070d40990
commit
f393dda528
1 changed files with 1 additions and 0 deletions
|
@ -61,6 +61,7 @@ export function useActorAutocompleteFn() {
|
|||
|
||||
return React.useCallback(
|
||||
async ({query, limit = 8}: {query: string; limit?: number}) => {
|
||||
query = query.toLowerCase()
|
||||
let res
|
||||
if (query) {
|
||||
try {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue