Skip to content

Commit 144cdd4

Browse files
authored
fix(Application): search menu now correctly lowercases input keys (#3842)
1 parent 1fee161 commit 144cdd4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/Application/src/search/useMenuSearch.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ export function useMenuSearch(refs: Ref<HTMLElement[]>, scrollWrap: Ref, emit: A
4949
function search(e: ChangeEvent) {
5050
e?.stopPropagation();
5151
const key = e.target.value;
52-
keyword.value = key.trim();
52+
keyword.value = key.trim().toLowerCase();
5353
if (!key) {
5454
searchResult.value = [];
5555
return;

0 commit comments

Comments
 (0)