diff --git a/CHANGELOG.en-US.md b/CHANGELOG.en-US.md index 73d9d576b..bd03c6a56 100644 --- a/CHANGELOG.en-US.md +++ b/CHANGELOG.en-US.md @@ -101,6 +101,7 @@ in `lazy` mode #6235 - `on-text` and `off-text` attributes now don't have default values - Tag - `type` attribute now accepts `success`, `info`, `warning` and `danger` + - `close-transition` is renamed to `disable-transitions` - Menu - Removed `theme` attribute. The color of Menu can be configured using `background-color`, `text-color` and `active-text-color` - Input diff --git a/CHANGELOG.zh-CN.md b/CHANGELOG.zh-CN.md index c48a8a34c..b83f0f5de 100644 --- a/CHANGELOG.zh-CN.md +++ b/CHANGELOG.zh-CN.md @@ -99,6 +99,7 @@ - `on-text` 和 `off-text` 属性不再有默认值 - Tag - `type` 属性现在支持 `success`、`info`、`warning` 和 `danger` 四个值 + - `close-transition` 属性更名为 `disable-transitions` - Menu - 移除 `theme` 属性。现在通过 `background-color`、`text-color` 和 `active-text-color` 属性进行颜色的自定义 - Input diff --git a/examples/docs/en-US/form.md b/examples/docs/en-US/form.md index 62adb0199..08bf451d7 100644 --- a/examples/docs/en-US/form.md +++ b/examples/docs/en-US/form.md @@ -779,3 +779,9 @@ When an `el-form-item` is nested in another `el-form-item`, its label width will |------|--------| | — | content of Form Item | | label | content of label | + +### Form-Item Methods + +| Method | Description | Parameters | +| ---- | ---- | ---- | +| resetField | reset current field and remove validation result | — | diff --git a/examples/docs/zh-CN/form.md b/examples/docs/zh-CN/form.md index 3f90ea499..ea9da4d5d 100644 --- a/examples/docs/zh-CN/form.md +++ b/examples/docs/zh-CN/form.md @@ -768,3 +768,9 @@ |------|--------| | — | Form Item 的内容 | | label | 标签文本的内容 | + +### Form-Item Methods + +| 方法名 | 说明 | 参数 +|---------- |-------------- | -------------- +| resetField | 对该表单项进行重置,将其值重置为初始值并移除校验结果 | -