Skip to content

Commit

Permalink
fix: better submit prevention
Browse files Browse the repository at this point in the history
  • Loading branch information
Simon Erslev Milfred committed Sep 26, 2023
1 parent 7000d77 commit fe9f321
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions components/FetchForm.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<template>
<form
onsubmit="return false;"
:action="action"
:enctype="enctype"
:method="method"
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@limbo-works/fetch-form",
"type": "module",
"version": "0.0.2",
"version": "0.0.3",
"main": "./nuxt.config.js",
"scripts": {
"dev": "nuxi dev .playground",
Expand Down

0 comments on commit fe9f321

Please sign in to comment.