mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-14 18:01:06 +00:00
fix(tag): add type="button"
on interactive, filter tag variants (#1246)
Fixes #1243
This commit is contained in:
parent
4c0d6ea5a2
commit
7f9f45e54f
1 changed files with 2 additions and 0 deletions
|
@ -77,6 +77,7 @@
|
|||
<span class:bx--tag__label="{true}">{type}</span>
|
||||
</slot>
|
||||
<button
|
||||
type="button"
|
||||
aria-labelledby="{id}"
|
||||
class:bx--tag__close-icon="{true}"
|
||||
disabled="{disabled}"
|
||||
|
@ -94,6 +95,7 @@
|
|||
</div>
|
||||
{:else if interactive}
|
||||
<button
|
||||
type="button"
|
||||
id="{id}"
|
||||
disabled="{disabled}"
|
||||
aria-disabled="{disabled}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue