Skip to content

antd 2.10.0

2017-05-02

  • LocaleProvider
  • AutoComplete supports to listen to search events by onSearch.
  • Checkbox.Group can support more flexible layout with nested Checkbox. demo
  • Notification's inline style and className can be customized now. #5893 @lixiaoyang1992
  • TimePicker's open status can be controlled by open property. #5913
  • The returned value of Upload[onRemove] could be a promise to control remove logic asynchronously. #5973 @shlice
  • Adjust padding of popup of Dropdown. #5088
  • AutoComplete
    • Fix inconsistent behavior between dataSource: Object[] and dataSource: String[]. #5860
    • Fix broken style of error style in Form. #5834 @kossel
  • Fix that Button should not insert space in Chinese characters while using Icon. #5977
  • Fix broken style while using Cascader in Card[title]. #5952
  • Fix broken disabled style of Checkbox Radio. #5935
  • Fix broken style of DatePicker with nested TimePicker while using use12Hours. #5959
  • Fix broken style while using AutoComplete, Cascader, Mention, TimePicker in Input.Group. #5832
  • Fix missing TypeScript definition of inlineIndent Menu. #5903 @brookshi
  • Mention
    • Fix missing properties, readOnly and disabled. #5175
    • Fix controlled mode. #5788
  • Fix errors while using RangePicker with Form. #5872
  • Fix that pagination is clickable when Table with loading status. #5937
  • Tabs
    • Fix broken style while using Table or Form in Tabs. #5953
    • Fix broken style of vertical layout. #5877
  • Transfer
    • Fix invisible search result list. #5631
    • Fix select all and unselect all logic in searching mode. #5993

  • LocaleProvider
  • AutoComplete 新增 onSearch 以监听搜索事件。
  • Checkbox.Group 可以内嵌 Checkbox,以支持更灵活的布局。demo
  • Notification 现在可以自定义弹出框的样式和 className。#5893 @lixiaoyang1992
  • TimePicker 的展开状态可以通过受控属性 open 控制。#5913
  • Upload[onRemove] 可以返回一个 promise 以异步控制移除逻辑。#5973 @shlice
  • 调整 Dropdown 弹出层的边距。#5088
  • AutoComplete
    • 修复 dataSource 为 Object[] 时行为与 String[] 不一致的问题。#5860
    • 修复在 Form 内使用时,错误样式显示错误的问题。#5834 @kossel
  • 修复 Button 内嵌 Icon 后,两个汉字之间会插入空格的问题。#5977
  • 修复 Card[title] 内使用 Cascader 导致样式错乱的问题。#5952
  • 修复 Checkbox Radio 禁用后的 cursor 样式问题。#5935
  • 修复 DatePicker 内嵌的 TimePicker 使用 use12Hours 后样式错误的问题。#5959
  • 修复 Input.Group 内嵌 AutoComplete Cascader Mention TimePicker 时的样式问题。#5832
  • 修复 Menu 的 TypeScript 定义缺少 inlineIndent 的问题。#5903 @brookshi
  • Mention
    • 修复不支持 readOnly 和 disabled 的问题。#5175
    • 修复受控模式。#5788
  • 修复 RangePicker 与 Form 一起使用时会报错的问题。#5872
  • 修复 loading 状态 Table 的分页能点击的问题。#5937
  • Tabs
    • 修复内嵌 Table 或者表单控件时布局错乱的问题。#5953
    • 修复 2.9.2 引入的垂直布局样式错乱的问题。#5877
  • Transfer
    • 修复搜索结果无法正常显示的问题。#5631
    • 修复搜索模式下全选和反选的逻辑。#5993