vue3-form-validation
Advanced tools
Comparing version 1.0.4 to 1.0.5
@@ -124,3 +124,2 @@ "use strict"; | ||
else { | ||
console.log('NULL'); | ||
formField.setError(index, null); | ||
@@ -127,0 +126,0 @@ } |
{ | ||
"name": "vue3-form-validation", | ||
"version": "1.0.4", | ||
"version": "1.0.5", | ||
"description": "Vue 3 form validation", | ||
@@ -8,3 +8,4 @@ "main": "dist/index.js", | ||
"scripts": { | ||
"test": "jest" | ||
"test": "jest", | ||
"docs:dev": "cd docs && npx vitepress" | ||
}, | ||
@@ -33,3 +34,3 @@ "files": [ | ||
"typescript": "^4.0.5", | ||
"vue": "^3.0.2" | ||
"vitepress": "^0.7.1" | ||
}, | ||
@@ -36,0 +37,0 @@ "prettier": { |
# WIP | ||
> Easy to use Form Validation for Vue 3 | ||
A working prototype is currently available and can be used. | ||
``` bash | ||
npm i vue3-form-validation | ||
``` | ||
Validation is async and is utilising `Promise.allSettled()`, which has not yet reached cross-browser stability ([see](https://developer.mozilla.org/de/docs/Web/JavaScript/Reference/Global_Objects/Promise/allSettled)). | ||
Example usage can be found in this [Code Sandbox](https://codesandbox.io/s/vue-3-form-validation-demo-busd9). |
13934
11
347