@splitty-test/validation 0.2.1 → 0.2.2

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.
Files changed (2) hide show
  1. package/README.md +2 -2
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -108,6 +108,6 @@ export {
108
108
  Then in the template:
109
109
 
110
110
  ```html
111
- <FieldValidation name="pity" v-model="who_do_i_pity" :validator="myValidator" :rules="myCustomRule">...</FieldVaidation>
112
- <FieldValidation name="age" v-model="age" :validator="myValidator" :rules="myCustomRuleWithArguments(18, 50)">...</FieldVaidation>
111
+ <FieldValidation name="pity" v-model="who_do_i_pity" :validator="myValidator" :rules="[myCustomRule]">...</FieldVaidation>
112
+ <FieldValidation name="age" v-model="age" :validator="myValidator" :rules="[myCustomRuleWithArguments(18, 50)]">...</FieldVaidation>
113
113
  ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@splitty-test/validation",
3
- "version": "0.2.1",
3
+ "version": "0.2.2",
4
4
  "main": "dist/index.umd.js",
5
5
  "module": "dist/index.mjs",
6
6
  "types": "dist/index.d.ts",