diff --git a/CHANGELOG.en-US.md b/CHANGELOG.en-US.md index f2496e11fe..b7c6c32712 100644 --- a/CHANGELOG.en-US.md +++ b/CHANGELOG.en-US.md @@ -196,7 +196,10 @@ If you want to read change logs before `2.0.0`, please visit [GitHub](https://gi * Add French localization for LocaleProvider. [#4538](https://github.com/ant-design/ant-design/pull/4538) * Added `onSearchChange` callback of Transfer. [#4464](https://github.com/ant-design/ant-design/pull/4464) * Added `maskClosable` property of Modal.confirm. [#4488](https://github.com/ant-design/ant-design/pull/4488), [#4488](https://github.com/ant-design/ant-design/pull/4490) -* Added `hideRequiredMark` property if Form. [#4732](https://github.com/ant-design/ant-design/pull/4732) +* Form + * Added `options.onValuesChange` option, cause `options.onFieldsChange` would be triggered multiply. [#2934](https://github.com/ant-design/ant-design/pull/2934) + * Added `props.form.getFieldsError` `props.form.isFieldTouched` `props.form.isFieldsTouched` options that can be used to disable submit button. [#4374](https://github.com/ant-design/ant-design/issues/4374) + * Added `hideRequiredMark` property. [#4732](https://github.com/ant-design/ant-design/pull/4732) * Improvement upload list of Upload. [#4516](https://github.com/ant-design/ant-design/pull/4516) * Upgrade rc-select to `6.7.1`. * Fixed duplication `onChange` callback. [#156@rc-select](https://github.com/react-component/select/pull/156) diff --git a/CHANGELOG.zh-CN.md b/CHANGELOG.zh-CN.md index 45e339ac36..66f611a5ac 100644 --- a/CHANGELOG.zh-CN.md +++ b/CHANGELOG.zh-CN.md @@ -196,7 +196,10 @@ timeline: true * 添加了对法语的支持。[#4538](https://github.com/ant-design/ant-design/pull/4538) * Transfer 添加了 `onSearchChange` 回调。 [#4464](https://github.com/ant-design/ant-design/pull/4464) * Modal.confirm 添加了 maskClosable 配置项。[#4488](https://github.com/ant-design/ant-design/pull/4488), [#4488](https://github.com/ant-design/ant-design/pull/4490) -* Form 增加 `hideRequiredMark` 属性。[#4732](https://github.com/ant-design/ant-design/pull/4732) +* Form + * 增加 `options.onValuesChange` 参数,可用于代替会触发多次 `options.onFieldsChange`。[#2934](https://github.com/ant-design/ant-design/pull/2934) + * 增加 `props.form.getFieldsError` `props.form.isFieldTouched` `props.form.isFieldsTouched` 三个方法,可用于提交表单按钮的禁用展示。 [#4374](https://github.com/ant-design/ant-design/issues/4374) + * 增加 `hideRequiredMark` 属性。[#4732](https://github.com/ant-design/ant-design/pull/4732) * 改进了 Upload 的列表图片预览。 [#4516](https://github.com/ant-design/ant-design/pull/4516) * 升级了 rc-select 到 6.7.1。 * 修复了 Select 的 `onChange` 回调重复触发的问题。[#156@rc-select](https://github.com/react-component/select/pull/156)