Fixed the buttons of ActionsSelect and ActionsInput having a default type="submit" (#4162)

* fixed the buttons having a default type="submit"

* fixed linting issue
This commit is contained in:
Frank Elsinga
2023-12-04 01:15:40 +08:00
committed by GitHub
parent 37666bf35f
commit 9c56c9b346
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -8,7 +8,7 @@
:placeholder="placeholder"
:disabled="!enabled"
>
<button class="btn btn-outline-primary" @click="action()" :aria-label="actionAriaLabel">
<button type="button" class="btn btn-outline-primary" :aria-label="actionAriaLabel" @click="action()">
<font-awesome-icon :icon="icon" />
</button>
</div>