fix(controls): add type="button" to avoid form submissions (#1911) (#1912)

* fix(controls): add `type="button"` to avoid form submissions (#1911)

* chore(changeset): add

---------

Co-authored-by: Hossam Hassan <58523735+devhus@users.noreply.github.com>
This commit is contained in:
Braks
2025-08-07 14:05:56 +02:00
parent a43da6f1ec
commit dfae6619e2
2 changed files with 6 additions and 1 deletions

View File

@@ -6,7 +6,7 @@ export default {
</script>
<template>
<button class="vue-flow__controls-button">
<button type="button" class="vue-flow__controls-button">
<slot />
</button>
</template>