mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 02:11:05 +00:00
fix(dropdown): button
type attribute should be "button" (#1264)
Fixes #739
This commit is contained in:
parent
49a852b1f3
commit
1f18c86f4f
1 changed files with 1 additions and 0 deletions
|
@ -199,6 +199,7 @@
|
||||||
{/if}
|
{/if}
|
||||||
<button
|
<button
|
||||||
bind:this="{ref}"
|
bind:this="{ref}"
|
||||||
|
type="button"
|
||||||
class:bx--list-box__field="{true}"
|
class:bx--list-box__field="{true}"
|
||||||
tabindex="0"
|
tabindex="0"
|
||||||
aria-expanded="{open}"
|
aria-expanded="{open}"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue