1
+ ## 3.0.0
2
+
3
+ ### Breaking changes
4
+
5
+ - ` handleReset ` callback now ` handleCancel ` , because personally I didn't use any reset button, but every time I have a ` Cancel ` button
6
+ - Demo site now moved on from ` Github Pages ` to [ ` Netlify ` ] ( https://detools-vue-form.netlify.com )
7
+
8
+ ### Updated
9
+
10
+ - ` initialValues ` now track changes via ` watch ` instead of ` updated ` callback
11
+ - ` SECRET_VUE_FORM_METHOD ` moved to store at all
12
+
13
+ ### Fixed
14
+
15
+ - ` length ` validator
16
+ - ` ArrayField ` 's ` move ` method
17
+ - On success form level sync validation (if exists) ` syncErrors ` no more cleared
18
+ - On failed form level sync validation error messages now merge with existing errors
19
+ - Field Level Sync Error messages [ have high priority] ( https://github.com/detools/vue-form/pull/12/files#diff-cc347fc7d9ff2647f1b2670fce6f2d0cR134 )
20
+ - Validators now can react on any changes. See [ ** Dynamic Validators Form** ] ( https://detools-vue-form.netlify.com/#/dynamic-validators-form )
21
+ - All time when ` vue-form ` needs to validate some value — it uses actual validators
22
+ - Values now validate on ` reinitializeValues `
23
+
24
+ ### Added
25
+
26
+ - Independent store to keep form state
27
+ - [ Tests for this store] ( https://github.com/detools/vue-form/pull/12/files#diff-c1514b4bdc660c0a5cf1c0155331e290 )
28
+
1
29
## 2.7.8
2
30
3
31
### Fixed
@@ -180,14 +208,14 @@ const renderAsComponent = {
180
208
### Added
181
209
182
210
- [ ` FieldArray ` ] ( /VueForm/components/ConnectedFieldArray.js ) control
183
- - [ ` Array Field Form ` ] ( https://detools.github.io/ vue-form/#/array-field-form ) to explain how ` FieldArray ` works
211
+ - [ ` Array Field Form ` ] ( https://detools- vue-form.netlify.com /#/array-field-form ) to explain how ` FieldArray ` works
184
212
185
213
## 2.4.2
186
214
187
215
### Updated
188
216
189
217
- ` length ` validator. Now it supports arrays
190
- - [ ` All Validations Form ` demo] ( https://detools.github.io/ vue-form/#/all-validations-form )
218
+ - [ ` All Validations Form ` demo] ( https://detools- vue-form.netlify.com /#/all-validations-form )
191
219
192
220
## 2.4.1
193
221
@@ -210,7 +238,7 @@ const renderAsComponent = {
210
238
211
239
How to test:
212
240
213
- 1 . Open [ Inline Validators Form] ( https://detools.github.io/ vue-form/#/inline-validators-form )
241
+ 1 . Open [ Inline Validators Form] ( https://detools- vue-form.netlify.com /#/inline-validators-form )
214
242
2 . Type ` 123456 ` => click ` Submit `
215
243
3 . You will get an async error — form won't submit
216
244
4 . Type ` github ` => click ` Submit `
@@ -220,7 +248,7 @@ How to test:
220
248
221
249
### Added
222
250
223
- - Form level sync validation. [ Demo] ( https://detools.github.io/ vue-form/#/sync-validation-form )
251
+ - Form level sync validation. [ Demo] ( https://detools- vue-form.netlify.com /#/sync-validation-form )
224
252
225
253
## 2.2.0
226
254
@@ -246,16 +274,20 @@ How to test:
246
274
// Now
247
275
import { Input , validators } from ' @detools/vue-form'
248
276
249
- < Input
250
- validators= {[validators .isRequired ()]}
251
- / >
277
+ const After = {
278
+ render () {
279
+ return < Input validators= {[validators .isRequired ()]} / >
280
+ },
281
+ }
252
282
253
283
// Before
254
284
import { Input , validations } from ' @detools/vue-form'
255
285
256
- < Input
257
- validate= {validations .validate ([validations .isRequired ()])}
258
- / >
286
+ const Before = {
287
+ render () {
288
+ return < Input validate= {validations .validate ([validations .isRequired ()])} / >
289
+ },
290
+ }
259
291
```
260
292
261
293
### Updated
@@ -291,7 +323,7 @@ import { Input, validations } from '@detools/vue-form'
291
323
### Added:
292
324
293
325
- Support for immediate changes handler ` handleModelChange `
294
- - Example for immediate changes form [ ` <ImmediateForm /> ` ] ( https://detools.github.io/ vue-form#immediate-form )
326
+ - Example for immediate changes form [ ` <ImmediateForm /> ` ] ( https://detools- vue-form.netlify.com #immediate-form )
295
327
296
328
### Changed:
297
329
0 commit comments