fix a bunch of <button>s acting as submit buttons breaking enter key
This commit is contained in:
parent
de66267a07
commit
982c799b6f
7 changed files with 16 additions and 1 deletions
|
@ -8,6 +8,7 @@
|
|||
class="button-unstyled nav-icon"
|
||||
:title="$t('nav.search')"
|
||||
@click.prevent.stop="toggleHidden"
|
||||
type="button"
|
||||
>
|
||||
<FAIcon
|
||||
fixed-width
|
||||
|
@ -28,6 +29,7 @@
|
|||
<button
|
||||
class="button-default search-button"
|
||||
@click="find(searchTerm)"
|
||||
type="submit"
|
||||
>
|
||||
<FAIcon
|
||||
fixed-width
|
||||
|
@ -37,6 +39,7 @@
|
|||
<button
|
||||
class="button-unstyled cancel-search"
|
||||
@click.prevent.stop="toggleHidden"
|
||||
type="button"
|
||||
>
|
||||
<FAIcon
|
||||
fixed-width
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue