Skip to content

Commit

Permalink
fix(Application): search menu now correctly lowercases input keys (#3842
Browse files Browse the repository at this point in the history
)
  • Loading branch information
doraemonxxx committed May 14, 2024
1 parent 1fee161 commit 144cdd4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Application/src/search/useMenuSearch.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export function useMenuSearch(refs: Ref<HTMLElement[]>, scrollWrap: Ref, emit: A
function search(e: ChangeEvent) {
e?.stopPropagation();
const key = e.target.value;
keyword.value = key.trim();
keyword.value = key.trim().toLowerCase();
if (!key) {
searchResult.value = [];
return;
Expand Down

0 comments on commit 144cdd4

Please sign in to comment.