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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
2 additions and
2 deletions
CHANGELOG.en-US.md
CHANGELOG.zh-CN.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.
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 `tru e` .
- Card's `noHovering` has been renamed to `hoverable` , and its default value now is `fals e` .
- Added new Grid breakpoints. [#7230 ](https://github.com/ant-design/ant-design/pull/7230 )
- Added new Grid breakpoints. [#7230 ](https://github.com/ant-design/ant-design/pull/7230 )
- Form `getFieldDecorator` 's `exclusive` option has been removed.
- Form `getFieldDecorator` 's `exclusive` option has been removed.
- Added `Form.createFormField` , and you must use it to wrap field data returned in `option.mapPropsToFields` :
- Added `Form.createFormField` , and you must use it to wrap field data returned in `option.mapPropsToFields` :
@ -2599,7 +2599,7 @@ timeline: true
此版本有部分不兼容的改动,升级时确保修改相应的使用代码。另外由于人肉查找代码中的废弃用法过于低效,所以我们提供了 [antd-migration-helper ](https://github.com/ant-design/antd-migration-helper ) 用于扫描代码中的废弃用法。
此版本有部分不兼容的改动,升级时确保修改相应的使用代码。另外由于人肉查找代码中的废弃用法过于低效,所以我们提供了 [antd-migration-helper ](https://github.com/ant-design/antd-migration-helper ) 用于扫描代码中的废弃用法。
- Card 的 `noHovering` 属性重命名为 `hoverable` ,且默认值改为 `tru e` 。
- Card 的 `noHovering` 属性重命名为 `hoverable` ,且默认值改为 `fals e` 。
- 调整了 Grid 的响应式断点值。详见 [#7230 ](https://github.com/ant-design/ant-design/pull/7230 )
- 调整了 Grid 的响应式断点值。详见 [#7230 ](https://github.com/ant-design/ant-design/pull/7230 )
- Form `getFieldDecorator` 的 `exclusive` 参数被移除,此类场景应该由 Radio.Group、Checkbox.Group 之类的组件来完成。
- Form `getFieldDecorator` 的 `exclusive` 参数被移除,此类场景应该由 Radio.Group、Checkbox.Group 之类的组件来完成。
- 新增 `Form.createFormField` 方法,`mapPropsToFields` 返回的字段都需要由该方法创建。
- 新增 `Form.createFormField` 方法,`mapPropsToFields` 返回的字段都需要由该方法创建。