fix a bunch of <button>s acting as submit buttons breaking enter key
This commit is contained in:
parent
de66267a07
commit
982c799b6f
7 changed files with 16 additions and 1 deletions
|
@ -93,7 +93,9 @@ export default Vue.component('tab-switcher', {
|
|||
<button
|
||||
disabled={slot.data.attrs.disabled}
|
||||
onClick={this.clickTab(index)}
|
||||
class={classesTab.join(' ')}>
|
||||
class={classesTab.join(' ')}
|
||||
type="button"
|
||||
>
|
||||
<img src={slot.data.attrs.image} title={slot.data.attrs['image-tooltip']}/>
|
||||
{slot.data.attrs.label ? '' : slot.data.attrs.label}
|
||||
</button>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue