You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.en-US.md
+12Lines changed: 12 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,6 +10,18 @@
10
10
11
11
---
12
12
13
+
## 1.3.5
14
+
`2019-02-23`
15
+
16
+
- 🌟 Optimize the `Popover``Popconfirm` component arrow style.
17
+
- 🐞 Fix using autoprefixer 9.4.5 in postcss (vue-cli) will throw an error `Replace text-decoration-skip: ink to text-decoration-skip-ink: auto, because spec had been changed`. [#471](https://github.com/vueComponent/ant-design-vue/pull/471)
18
+
- Tree
19
+
- 🐞 Fixed growing space of Tree nodes.[#502](https://github.com/vueComponent/ant-design-vue/issues/502)
20
+
- 🐞 Fixing the `Tree` node can't drag and drop the target node problem.[#469](https://github.com/vueComponent/ant-design-vue/issues/502)
21
+
- 📝 Update the document: `Tree` component `dragxxx` event changed to all lowercase.[#467](https://github.com/vueComponent/ant-design-vue/issues/467)
22
+
- 🐞 Fix `Modal.confirm``class` does not work.[#475](https://github.com/vueComponent/ant-design-vue/pull/475)
Copy file name to clipboardExpand all lines: CHANGELOG.zh-CN.md
+13Lines changed: 13 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,6 +10,19 @@
10
10
11
11
---
12
12
13
+
14
+
## 1.3.5
15
+
`2019-02-23`
16
+
17
+
- 🌟 优化 `Popover``Popconfirm` 组件箭头样式。
18
+
- 🐞 修复在 postcss(vue-cli)中使用 autoprefixer 9.4.5 会抛出错误 `Replace text-decoration-skip: ink to text-decoration-skip-ink: auto, because spec had been changed` 的问题。[#471](https://github.com/vueComponent/ant-design-vue/pull/471)
19
+
- Tree
20
+
- 🐞 修复 Tree 节点内底部边距叠加的问题。[#502](https://github.com/vueComponent/ant-design-vue/issues/502)
Copy file name to clipboardExpand all lines: components/form/index.en-US.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -54,7 +54,7 @@ The following `options` are available:
54
54
55
55
If the form has been decorated by `Form.create` then it has `this.form` property. `this.form` provides some APIs as follows:
56
56
57
-
> Note: Before using `getFieldsValue``getFieldValue``setFieldsValue` and so on, please make sure that corresponding field had been registered with `getFieldDecorator`.
57
+
> Note: Before using `getFieldsValue``getFieldValue``setFieldsValue` and so on, please make sure that corresponding field had been registered with `getFieldDecorator` or `v-decorator`.
58
58
59
59
| Method | Description | Type |
60
60
| ------ | ----------- | ---- |
@@ -63,8 +63,8 @@ If the form has been decorated by `Form.create` then it has `this.form` property
63
63
| getFieldsError | Get the specified fields' error. If you don't specify a parameter, you will get all fields' error. | Function(\[names: string\[]]) |
64
64
| getFieldsValue | Get the specified fields' values. If you don't specify a parameter, you will get all fields' values. | Function(\[fieldNames: string\[]]) |
65
65
| getFieldValue | Get the value of a field. | Function(fieldName: string) |
66
-
| isFieldsTouched | Check whether any of fields is touched by `getFieldDecorator`'s `options.trigger` event | (names?: string\[]) => boolean |
67
-
| isFieldTouched | Check whether a field is touched by `getFieldDecorator`'s `options.trigger` event | (name: string) => boolean |
66
+
| isFieldsTouched | Check whether any of fields is touched by `getFieldDecorator`'s or `v-decorator`'s `options.trigger` event | (names?: string\[]) => boolean |
67
+
| isFieldTouched | Check whether a field is touched by `getFieldDecorator`'s or `v-decorator`'s `options.trigger` event | (name: string) => boolean |
68
68
| isFieldValidating | Check if the specified field is being validated. | Function(name) |
69
69
| resetFields | Reset the specified fields' value(to `initialValue`) and status. If you don't specify a parameter, all the fields will be reset. | Function(\[names: string\[]]) |
70
70
| setFields | Set value and error state of fields. | ({<br /> \[fieldName\]: {value: any, errors: \[Error\] }<br />}) => void |
@@ -137,7 +137,7 @@ To mark the returned fields data in `mapPropsToFields`, [demo](#components-form-
137
137
After wrapped by `getFieldDecorator` or `v-decorator`, `value`(or other property defined by `valuePropName`) `onChange`(or other property defined by `trigger`) props will be added to form controls,the flow of form data will be handled by Form which will cause:
138
138
139
139
1. You shouldn't use `onChange` to collect data, but you still can listen to `onChange`(and so on) events.
140
-
2. You cannot set value of form control via `value``defaultValue` prop, and you should set default value with `initialValue` in `getFieldDecorator` instead.
140
+
2. You cannot set value of form control via `value``defaultValue` prop, and you should set default value with `initialValue` in `getFieldDecorator`or `v-decorator`instead.
141
141
3. You shouldn't call `v-model` manually, please use `this.form.setFieldsValue` to change value programmatically.
0 commit comments