Skip to content

Commit

Permalink
pkp/pkp-lib#9884 Second attempt to override default behaviour for one…
Browse files Browse the repository at this point in the history
… input forms
  • Loading branch information
jardakotesovec committed Oct 24, 2024
1 parent 006c931 commit d4dd58b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/Form/Form.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@
class="pkpForm -pkpClearfix"
:method="method"
:action="action"
@keydown.enter.prevent=""
@submit.prevent="() => {}"
>
<input type="submit" value="i9884" style="display: none" />
<input
v-for="(value, name) in hiddenFields"
:key="name"
Expand Down

0 comments on commit d4dd58b

Please sign in to comment.