Skip to content

Commit

Permalink
fix(tag): add type="button" on interactive, filter tag variants (ca…
Browse files Browse the repository at this point in the history
  • Loading branch information
metonym authored Apr 15, 2022
1 parent 4c0d6ea commit 7f9f45e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Tag/Tag.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
Expand All @@ -94,6 +95,7 @@
</div>
{:else if interactive}
<button
type="button"
id="{id}"
disabled="{disabled}"
aria-disabled="{disabled}"
Expand Down

0 comments on commit 7f9f45e

Please sign in to comment.