ng-zorro-antd icon indicating copy to clipboard operation
ng-zorro-antd copied to clipboard

range-picker控件 ngModel属性,当初始值不为null时,点击清空按钮,ngModel值被清空,但控件不刷新,依然显示原有日期

Open dusdong opened this issue 2 years ago • 2 comments

Reproduction link

https://stackblitz.com/edit/angular-xpdyc9-yme7u2?file=src%2Fapp%2Fapp.component.ts

Steps to reproduce

range-picker控件 ngModel属性,当初始值不为null时,点击清空按钮

What is expected?

ngModel值被清空,控件刷新为空白

What is actually happening?

ngModel值被清空,但控件不刷新,依然显示日期

Environment Info
ng-zorro-antd 13.2.2
Browser edge 101.0

dusdong avatar May 15 '22 13:05 dusdong

Translation of this issue:

Range-Picker control Ngmodel attribute. When the original value is not NULL, click the empty button, the NGMOL value is empty, but the control is not refreshed, and the original date still shows the original date.

REPRODUCTION LINK

[https://stackACKLITZ.com/edit/angular-xpdyc9- yme7u2?file=src%2FApp.com 2FAPP%2Fapp.comPonent.ts)

STEPS To Reproduce

Range-Picker control ngmodel attribute, when the original value is not NULL, click the empty button

What is exfected?

The ngmodel value is empty, and the control is refreshed into blank

What is actually happy?

The ngmodel value is empty, but the control is not refreshed, and the date still shows

| ENVIRONMENT | Info | | --- | --- | | | NG-Zorro-ATD | 13.2.2 | | Browser | Edge 101.0 |

zorro-bot[bot] avatar May 15 '22 13:05 zorro-bot[bot]

好像依然存在这个问题

232650413 avatar Jun 24 '22 02:06 232650413