fix(Application): search menu now correctly lowercases input keys (#3842)
This commit is contained in:
parent
1fee161786
commit
144cdd4680
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue