vue3-form-validation
Advanced tools
Comparing version 3.0.2 to 3.0.3
{ | ||
"name": "vue3-form-validation", | ||
"version": "3.0.2", | ||
"version": "3.0.3", | ||
"description": "Vue composition function for Form Validation", | ||
@@ -5,0 +5,0 @@ "author": { |
@@ -15,3 +15,3 @@ # Form Validation for Vue 3 | ||
Validation is async and is utilising `Promise.allSettled`, [which](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise/allSettled) has not yet reached cross-browser stability. Example usage can be found in this [Code Sandbox](https://codesandbox.io/s/vue-3-form-validation-demo-busd9?file=/src/views/LoginForm.vue). | ||
Validation is async and is utilising `Promise.allSettled`, [which](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise/allSettled) has not yet reached cross-browser stability. Example usage can be found in this [Code Sandbox](https://codesandbox.io/s/vue-3-form-validation-demo-7mp4z?file=/src/views/LoginForm.vue). | ||
@@ -170,3 +170,3 @@ ## API | ||
Keyed rules that share the same `key` will be executed together, this can be useful in a situation where rules are dependent on another. For example the `Password` and `Repeat Password` fields in a Login Form. | ||
Keyed rules that share the same `key` will be executed together, this can be useful in a situation where rules are dependent on another. For example the `Password` and `Repeat Password` fields in a [Login Form](https://codesandbox.io/s/vue-3-form-validation-demo-7mp4z?file=/src/views/LoginForm.vue). | ||
Rules will always be called with the latest `modelValue`, to determine if a call should result in an error, it will check if the rule's return value is of type `string`. | ||
@@ -200,3 +200,5 @@ This allows you to write many rules in one line: | ||
[Contributing](https://github.com/JensD98/vue3-form-validation/blob/master/.github/contributing.md) | ||
If you find problems or if you have use cases that you think are not easy to achieve with the current API, please let me know :+1: | ||
Feel free to file an issue or open a pull request, for more information checkout the | ||
[contributing guideline](https://github.com/JensD98/vue3-form-validation/blob/master/.github/contributing.md). | ||
@@ -203,0 +205,0 @@ ## License |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
30435
205