mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 18:31:06 +00:00
feat(combo-box): focus input on selection clear
This commit is contained in:
parent
7be03658b8
commit
d95b352ed0
1 changed files with 1 additions and 0 deletions
|
@ -160,6 +160,7 @@
|
|||
on:clear={() => {
|
||||
selectedIndex = -1;
|
||||
open = false;
|
||||
ref.focus();
|
||||
}}
|
||||
{translateWithId}
|
||||
{disabled}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue