Browse Source

Fix: incorrect default value of `hoverable` in changelog v.3.x (#27483)

* Update CHANGELOG.en-US.md

correct change log info of  `horverable` : 
From
> - Card's `noHovering` has been renamed to `hoverable`, and its default value now is `true`.
To
> - Card's `noHovering` has been renamed to `hoverable`, and its default value now is `false`.

* Update CHANGELOG.zh-CN.md

- Correct document about `hoverable` in Zh-CN language.
pull/28559/head
Kai 4 years ago
committed by GitHub
parent
commit
1c5ad1469c
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      CHANGELOG.en-US.md
  2. 2
      CHANGELOG.zh-CN.md

2
CHANGELOG.en-US.md

@ -2596,7 +2596,7 @@ Learn more in the [Ant Design 3.0 announcement post](https://medium.com/ant-desi
We provide a [migration tool](https://github.com/ant-design/antd-migration-helper) to help you find deprecated usages in your codebase.
- Card's `noHovering` has been renamed to `hoverable`, and its default value now is `true`.
- Card's `noHovering` has been renamed to `hoverable`, and its default value now is `false`.
- Added new Grid breakpoints. [#7230](https://github.com/ant-design/ant-design/pull/7230)
- Form `getFieldDecorator`'s `exclusive` option has been removed.
- Added `Form.createFormField`, and you must use it to wrap field data returned in `option.mapPropsToFields`:

2
CHANGELOG.zh-CN.md

@ -2599,7 +2599,7 @@ timeline: true
此版本有部分不兼容的改动,升级时确保修改相应的使用代码。另外由于人肉查找代码中的废弃用法过于低效,所以我们提供了 [antd-migration-helper](https://github.com/ant-design/antd-migration-helper) 用于扫描代码中的废弃用法。
- Card 的 `noHovering` 属性重命名为 `hoverable`,且默认值改为 `true`
- Card 的 `noHovering` 属性重命名为 `hoverable`,且默认值改为 `false`
- 调整了 Grid 的响应式断点值。详见 [#7230](https://github.com/ant-design/ant-design/pull/7230)
- Form `getFieldDecorator``exclusive` 参数被移除,此类场景应该由 Radio.Group、Checkbox.Group 之类的组件来完成。
- 新增 `Form.createFormField` 方法,`mapPropsToFields` 返回的字段都需要由该方法创建。

Loading…
Cancel
Save