2
0
mirror of https://github.com/tenrok/vue-form-wizard.git synced 2026-06-11 22:42:23 +03:00

Add explicit button type to button component

Without an explicit type, the button defaults to a submit button if found within a form which can be problematic. Adding type="button" avoids that issue.
This commit is contained in:
Jordan Maslyn
2017-11-07 13:18:46 -05:00
committed by GitHub
parent d15ed4cae8
commit 013dee79f9
+1 -1
View File
@@ -1,5 +1,5 @@
<template>
<button class="wizard-btn" tabindex="-1">
<button class="wizard-btn" tabindex="-1" type="button">
<slot></slot>
</button>
</template>