mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-18 11:36:36 +00:00
fix(combo-box): clicking chevron should not open the combo box if disabled
Fixes #776
This commit is contained in:
parent
36efee358f
commit
be5fbbd832
1 changed files with 1 additions and 0 deletions
|
@ -309,6 +309,7 @@
|
||||||
{/if}
|
{/if}
|
||||||
<ListBoxMenuIcon
|
<ListBoxMenuIcon
|
||||||
on:click="{(e) => {
|
on:click="{(e) => {
|
||||||
|
if (disabled) return;
|
||||||
e.stopPropagation();
|
e.stopPropagation();
|
||||||
open = !open;
|
open = !open;
|
||||||
}}"
|
}}"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue