2020-12-01
Bug Fixes
- cascader: restore its value after cancel search (#6088) (22ddc60)
- cascader: scroll active options into view (#6082) (b42b51f), closes #6037
- date-picker: clear wrong date input after closing panel (#6079) (edffdee), closes #6070
- date-picker: display error in dynamic switching
nzMode
(#6125) (220a590), closes #6052 - descriptions: fix DOM structure (#6112) (5e42d71)
- tree: fix indent line styles (#6123) (2f8edbc)
- tree-select: selector cannot focus (#6073) (032bd01), closes #6063
- upload: fix prevent trigger submit when click list button (#6096) (123982f), closes #6095
Features
- drawer: add
nzDrawerContent
directive (#6085) (6fc0683) - drawer: support nzVisible two-way binding (#6013) (caab8be), closes #5999
- input: textarea supports character count (#6104) (601ab50), closes #5907
- modal: add
nzModalContent
directive (#6081) (6594414) - pagination: support global config (#6043) (3c55b7c), closes #6042
- steps: supports enable and disable (#6101) (b87e72d), closes #5579
Deprecated
- modal
- Usage
<ng-content></ng-content>
is deprecated, which will be removed in 12.0.0. Please instead use<ng-template nzModalContent></ng-template>
to declare the content of the modal.
- Usage
- drawer
- Usage
<ng-content></ng-content>
is deprecated, which will be removed in 12.0.0. Please instead use<ng-template nzDrawerContent></ng-template>
to declare the content of the drawer.
- Usage
Bug Fixes
- cascader: 修复取消搜索时没有恢复值的问题 (#6088) (22ddc60)
- cascader: 修复没有滚动到选中选项的问题 (#6082) (b42b51f), closes #6037
- date-picker: 修复错误输入在关闭时没有清除的问题 (#6079) (edffdee), closes #6070
- date-picker: 修复切换
nzMode
的问题 (#6125) (220a590), closes #6052 - descriptions: 修复 DOM 结构 (#6112) (5e42d71)
- tree: 修复缩进连接线的样式问题 (#6123) (2f8edbc)
- tree-select: 修复选择器不能被聚焦的问题(#6073) (032bd01), closes #6063
- upload: 修复 button 触发 submit 的问题 (#6096) (123982f), closes #6095
Features
- drawer: 添加
nzDrawerContent
指令 (#6085) (6fc0683) - drawer:
nzVisible
支持双向绑定 (#6013) (caab8be), closes #5999 - input: textarea 支持输入计数 (#6104) (601ab50), closes #5907
- modal: 添加
nzModalContent
指令 (#6081) (6594414) - pagination: 添加全局配置支持 (#6043) (3c55b7c), closes #6042
- steps: 添加
enable
和disable
方法 (#6101) (b87e72d), closes #5579
Deprecated
- modal
<ng-content></ng-content>
用法已经被弃用, 将会在 12.0.0 版本中移除。 请使用<ng-template nzModalContent></ng-template>
代替声明 modal 的内容。
- drawer
<ng-content></ng-content>
用法已经被弃用, 将会在 12.0.0 版本中移除。 请使用<ng-template nzDrawerContent></ng-template>
代替声明 drawer 的内容。