|
1 | | -## 2.7.6 |
| 1 | +## 2.7.7 |
2 | 2 |
|
3 | 3 | ### Fixed |
4 | 4 |
|
5 | | -— Pass `fileList` prop as `file-list` prop to `<Upload />` |
6 | | -— Can't use value for now as `file-list` prop |
| 5 | +- `vue-form` now passes itself initial value to every component |
| 6 | +- User no need to define `fileList` if he passed `initalValues` to `Form` |
7 | 7 |
|
8 | | -```js |
9 | | -// Correct example |
10 | | -<Upload |
11 | | - formItem |
12 | | - showFileList |
13 | | - name="specificationFiles" |
14 | | - label="Upload Specification*" |
15 | | - labelWidth="150px" |
16 | | - endpoint="uploadSpecification" |
17 | | - // These initial values you have passed to form |
18 | | - // Default value is an empty array |
19 | | - fileList={this.initialValues.specificationFiles} |
20 | | - httpRequest={this.createUploadFile} |
21 | | - formatResponse={this.formatResponse}> |
22 | | - <Button>Browse</Button> |
23 | | -</Upload> |
24 | | -``` |
| 8 | +## 2.7.6 |
| 9 | + |
| 10 | +### Fixed |
| 11 | + |
| 12 | +- Pass `fileList` prop as `file-list` prop to `<Upload />` |
| 13 | +- Can't use value for now as `file-list` prop |
25 | 14 |
|
26 | 15 | ## 2.7.5 |
27 | 16 |
|
28 | 17 | ### Fixed |
29 | 18 |
|
30 | | -— Pass `<Upload />` value as `file-list` prop to UI component |
31 | | -— Add default noop value for `handleModelChange` |
32 | | -— Call `handleModelChange` on `reinitialize` |
| 19 | +- Pass `<Upload />` value as `file-list` prop to UI component |
| 20 | +- Add default noop value for `handleModelChange` |
| 21 | +- Call `handleModelChange` on `reinitialize` |
33 | 22 |
|
34 | 23 | ## 2.7.4 |
35 | 24 |
|
36 | 25 | ### Added |
37 | 26 |
|
38 | | -— `<Button />` component from `element-ui`, just for convenience |
| 27 | +- `<Button />` component from `element-ui`, just for convenience |
39 | 28 |
|
40 | 29 | ## 2.7.3 |
41 | 30 |
|
42 | 31 | ### Updated |
43 | 32 |
|
44 | | -— When form field has removed from form — it value won't be passed to submit |
| 33 | +- When form field has removed from form — it value won't be passed to submit |
45 | 34 |
|
46 | 35 | ## 2.7.2 |
47 | 36 |
|
48 | 37 | ### Fixed |
49 | 38 |
|
50 | | -— Added `append`, `prepend` props to `<Input />` |
| 39 | +- Added `append`, `prepend` props to `<Input />` |
51 | 40 |
|
52 | 41 | ## 2.7.1 |
53 | 42 |
|
54 | 43 | ### Fixed |
55 | 44 |
|
56 | | -— Merge values for submit instead of destructuring |
| 45 | +- Merge values for submit instead of destructuring |
57 | 46 |
|
58 | 47 | ## 2.7.0 |
59 | 48 |
|
60 | 49 | ### Added |
61 | 50 |
|
62 | | -— `<Upload />` control |
| 51 | +- `<Upload />` control |
63 | 52 |
|
64 | 53 | ## 2.6.1 |
65 | 54 |
|
|
0 commit comments