mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 18:31:06 +00:00
fix(combo-box): clear button supports "Space" key
This commit is contained in:
parent
0ea3d9351e
commit
855bd9a6e1
3 changed files with 36 additions and 14 deletions
|
@ -52,5 +52,7 @@
|
|||
}}
|
||||
on:clear={(e) => {
|
||||
console.log("clear", e.type);
|
||||
value = "";
|
||||
selectedId = undefined;
|
||||
}}
|
||||
/>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue