diff --git a/src/field/README.md b/src/field/README.md index 1996d9b26..6b3efda8b 100644 --- a/src/field/README.md +++ b/src/field/README.md @@ -242,6 +242,7 @@ Use `input-align` prop to align the input value | autosize | Textarea auto resize,can accpet an object,
e.g. { maxHeight: 100, minHeight: 50 } | *boolean \| object* | `false` | | left-icon | Left side icon name | *string* | - | | right-icon | Right side icon name | *string* | - | +| rules `v2.5.0` | Form validation rules | *object[]* | - | ### Events diff --git a/src/field/README.zh-CN.md b/src/field/README.zh-CN.md index ab154edaa..2242be443 100644 --- a/src/field/README.zh-CN.md +++ b/src/field/README.zh-CN.md @@ -261,6 +261,7 @@ export default { | autosize | 是否自适应内容高度,只对 textarea 有效,
可传入对象,如 { maxHeight: 100, minHeight: 50 },
单位为`px` | *boolean \| object* | `false` | | left-icon | 左侧[图标名称](#/zh-CN/icon)或图片链接 | *string* | - | | right-icon | 右侧[图标名称](#/zh-CN/icon)或图片链接 | *string* | - | +| rules `v2.5.0` | 表单校验规则,详见 [Form 组件](#/zh-CN/) | *object[]* | - | ### Events