@formisch/vue 0.6.2 → 0.6.4

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/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Formisch is a schema-based, headless form library for Vue. It manages form state and validation. It is type-safe, fast by default and its bundle size is small due to its modular design. Try it out in our [playground](https://stackblitz.com/edit/formisch-playground-vue)!
4
4
 
5
- Formisch is also available for [Preact][formisch-preact], [Qwik][formisch-qwik], [SolidJS][formisch-solid] and [Svelte][formisch-svelte].
5
+ Formisch is also available for [Preact][formisch-preact], [Qwik][formisch-qwik], [React][formisch-react], [SolidJS][formisch-solid] and [Svelte][formisch-svelte].
6
6
 
7
7
  ## Highlights
8
8
 
@@ -71,5 +71,6 @@ This project is available free of charge and licensed under the [MIT license](ht
71
71
 
72
72
  [formisch-preact]: https://github.com/open-circle/formisch/tree/main/frameworks/preact
73
73
  [formisch-qwik]: https://github.com/open-circle/formisch/tree/main/frameworks/qwik
74
+ [formisch-react]: https://github.com/open-circle/formisch/tree/main/frameworks/react
74
75
  [formisch-solid]: https://github.com/open-circle/formisch/tree/main/frameworks/solid
75
76
  [formisch-svelte]: https://github.com/open-circle/formisch/tree/main/frameworks/svelte
package/dist/index.js CHANGED
@@ -387,8 +387,8 @@ function setFieldInput(internalFormStore, path, input) {
387
387
  for (let index = 0; index < path.length; index++) {
388
388
  internalFieldStore = internalFieldStore.children[path[index]];
389
389
  if (index < path.length - 1) internalFieldStore.input.value = true;
390
- else setNestedInput(internalFieldStore, input);
391
390
  }
391
+ setNestedInput(internalFieldStore, input);
392
392
  });
393
393
  });
394
394
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@formisch/vue",
3
3
  "description": "The modular and type-safe form library for Vue",
4
- "version": "0.6.2",
4
+ "version": "0.6.4",
5
5
  "license": "MIT",
6
6
  "author": "Fabian Hiller",
7
7
  "homepage": "https://formisch.dev",
@@ -18,10 +18,10 @@
18
18
  ],
19
19
  "type": "module",
20
20
  "main": "./dist/index.js",
21
- "types": "./dist/types/index.d.ts",
21
+ "types": "./dist/index.d.ts",
22
22
  "exports": {
23
23
  ".": {
24
- "types": "./dist/types/index.d.ts",
24
+ "types": "./dist/index.d.ts",
25
25
  "import": "./dist/index.js"
26
26
  }
27
27
  },
@@ -40,11 +40,11 @@
40
40
  "tsdown": "^0.16.8",
41
41
  "typescript": "~5.8.3",
42
42
  "unplugin-vue": "^7.0.0",
43
- "valibot": "^1.1.0",
43
+ "valibot": "^1.2.0",
44
44
  "vue": "^3.5.18",
45
45
  "vue-tsc": "^3.0.4",
46
- "@formisch/core": "0.4.3",
47
- "@formisch/methods": "0.5.1"
46
+ "@formisch/core": "0.4.4",
47
+ "@formisch/methods": "0.5.2"
48
48
  },
49
49
  "peerDependencies": {
50
50
  "typescript": ">=5",