Skip to content

Commit

Permalink
fix(VExpansionPanel): set proper button type in header
Browse files Browse the repository at this point in the history
fixes #7471
  • Loading branch information
jacekkarczmarczyk committed Jun 12, 2019
1 parent eb7d5b3 commit cf0da4b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ export default baseMixins.extend<options>().extend({
class: this.classes,
attrs: {
tabindex: this.isDisabled ? -1 : null,
type: 'button',
},
directives: [{
name: 'ripple',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ exports[`VExpansionPanel should hide actions and match snapshot 1`] = `
<div aria-expanded="false"
class="v-expansion-panel"
>
<button class="v-expansion-panel-header">
<button type="button"
class="v-expansion-panel-header"
>
</button>
<div class="v-expansion-panel-content"
style="display: none;"
Expand All @@ -20,7 +22,9 @@ exports[`VExpansionPanel should hide actions and match snapshot 2`] = `
<div aria-expanded="false"
class="v-expansion-panel"
>
<button class="v-expansion-panel-header">
<button type="button"
class="v-expansion-panel-header"
>
<div class="v-expansion-panel-header__icon">
<i aria-hidden="true"
class="v-icon material-icons theme--light"
Expand Down

0 comments on commit cf0da4b

Please sign in to comment.