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

This commit is contained in:
Eric Liu 2025-06-07 12:31:01 -07:00
commit 855bd9a6e1
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;
}}
/>