@ramathibodi/nuxt-commons 4.0.28 → 4.0.29

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/module.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "compatibility": {
5
5
  "nuxt": "^4.3.1"
6
6
  },
7
- "version": "4.0.28",
7
+ "version": "4.0.29",
8
8
  "builder": {
9
9
  "@nuxt/module-builder": "1.0.4",
10
10
  "unbuild": "3.6.1"
@@ -267,6 +267,8 @@ defineExpose({
267
267
  </script>
268
268
 
269
269
  <template>
270
+ <!-- @submit.prevent: Enter in a single-text-field form triggers an implicit
271
+ submit; without it VForm calls the native form.submit() and reloads (#278). -->
270
272
  <v-form
271
273
  v-if="!formInjected && !trimmedTemplate"
272
274
  ref="formPad"
@@ -274,6 +276,7 @@ defineExpose({
274
276
  :readonly="readonly"
275
277
  :class="$attrs.class"
276
278
  autocomplete="off"
279
+ @submit.prevent
277
280
  >
278
281
  <template #default="formProvided">
279
282
  <slot
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ramathibodi/nuxt-commons",
3
- "version": "4.0.28",
3
+ "version": "4.0.29",
4
4
  "description": "Ramathibodi Nuxt modules for common components",
5
5
  "repository": {
6
6
  "type": "git",