From 0f82cd92155b308eb3fe1afc3509af05b7d88eb6 Mon Sep 17 00:00:00 2001 From: mertsincan Date: Thu, 26 Aug 2021 11:11:11 +0300 Subject: [PATCH] Fixed #1390 - Dropdown onkeydown item search not working properly --- src/components/dropdown/Dropdown.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/dropdown/Dropdown.vue b/src/components/dropdown/Dropdown.vue index 6890bcf48..c65b6519f 100755 --- a/src/components/dropdown/Dropdown.vue +++ b/src/components/dropdown/Dropdown.vue @@ -534,7 +534,7 @@ export default { clearTimeout(this.searchTimeout); } - const char = String.fromCharCode(event.keyCode); + const char = event.key; this.previousSearchChar = this.currentSearchChar; this.currentSearchChar = char;