fix(dropdown): button type attribute should be "button" (#1264)

Fixes #739
This commit is contained in:
metonym 2022-04-23 10:02:33 -07:00 committed by GitHub
commit 1f18c86f4f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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}"