convert query to lowercase before performing search (#2770)
parent
a070d40990
commit
f393dda528
|
@ -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…
Reference in New Issue