mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-18 03:26:36 +00:00
fix(multi-select): prevent dropdown from opening if disabled
This commit is contained in:
parent
ae7616edf8
commit
8f0c518d1f
1 changed files with 1 additions and 0 deletions
|
@ -271,6 +271,7 @@
|
|||
tabindex="0"
|
||||
aria-expanded="{open}"
|
||||
on:click="{() => {
|
||||
if (disabled) return;
|
||||
if (filterable) {
|
||||
open = true;
|
||||
inputRef.focus();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue