Using the Vuetify v-pagination we get a bunch of buttons
<form action="">
<div class="text-xs-center">
<v-text-field label="Insert text and press enter"></v-text-field><br />
<v-pagination
v-model="page"
:length="6"
></v-pagination>
</div>
</form>
Our problem is, that we have to wrap everything in a form. But the v-pagination is output as <button>
instead of <button type="button">
. This means pressing Enter while typing in the field, reloads the page.
Is there any way to change this or prevent the submit? Or to tell Vuetify to use type="button"
?
I'd also like to avoid submit-handlers, preventDefaults or changing the button-type after load.