Skip to content

Commit be1cead

Browse files
committed
2 parents 0cdd077 + 52fb870 commit be1cead

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

components/form/index.en-US.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ After wrapped by `getFieldDecorator`, `value`(or other property defined by `valu
117117
| id | The unique identifier is required. support [nested fields format](https://github.com/react-component/form/pull/48). | string | |
118118
| options.getValueFromEvent | Specify how to get value from event or other onChange arguments | function(..args) | [reference](https://github.com/react-component/form#option-object) |
119119
| options.initialValue | You can specify initial value, type, optional value of children node. (Note: Because `Form` will test equality with `===` internaly, we recommend to use vairable as `initialValue`, instead of literal) | | n/a |
120-
| options.normalize | Normalize value to form component, [a select-all example](https://codepen.io/afc163/pen/JJVXzG?editors=001) | function(value, prevValue, allValues): any | - |
120+
| options.normalize | Normalize value to form component, [a select-all example](https://codesandbox.io/s/kw4l2vqqmv) | function(value, prevValue, allValues): any | - |
121121
| options.rules | Includes validation rules. Please refer to "Validation Rules" part for details. | object\[] | n/a |
122122
| options.trigger | When to collect the value of children node | string | 'onChange' |
123123
| options.validateFirst | Whether stop validate on first rule of error for this field. | boolean | false |

components/form/index.zh-CN.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ CustomizedForm = Form.create({})(CustomizedForm);
116116
| id | 必填输入控件唯一标志。支持嵌套式的写法。 | string | |
117117
| options.getValueFromEvent | 可以把 onChange 的参数(如 event)转化为控件的值 | function(..args) | [reference](https://github.com/react-component/form#option-object) |
118118
| options.initialValue | 子节点的初始值,类型、可选值均由子节点决定(注意:由于内部校验时使用 `===` 判断是否变化,建议使用变量缓存所需设置的值而非直接使用字面量)) | | |
119-
| options.normalize | 转换默认的 value 给控件,[一个选择全部的例子](https://codepen.io/afc163/pen/JJVXzG?editors=001) | function(value, prevValue, allValues): any | - |
119+
| options.normalize | 转换默认的 value 给控件,[一个选择全部的例子](https://codesandbox.io/s/kw4l2vqqmv) | function(value, prevValue, allValues): any | - |
120120
| options.rules | 校验规则,参考下方文档 | object\[] | |
121121
| options.trigger | 收集子节点的值的时机 | string | 'onChange' |
122122
| options.validateFirst | 当某一规则校验不通过时,是否停止剩下的规则的校验 | boolean | false |

components/popover/index.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export default {
1616
},
1717
model: {
1818
prop: 'visible',
19-
event: 'change',
19+
event: 'visibleChange',
2020
},
2121
methods: {
2222
getPopupDomNode () {

0 commit comments

Comments
 (0)