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:
@@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<button class="wizard-btn" tabindex="-1">
|
||||
<button class="wizard-btn" tabindex="-1" type="button">
|
||||
<slot></slot>
|
||||
</button>
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user