fix(combo-box): clear button supports "Space" key (#2168)

Fixes #2166
This commit is contained in:
Eric Liu 2025-06-07 12:33:59 -07:00 committed by GitHub
commit 95c06a83b3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 36 additions and 14 deletions

View file

@ -52,5 +52,7 @@
}}
on:clear={(e) => {
console.log("clear", e.type);
value = "";
selectedId = undefined;
}}
/>