-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
nz-date-picker设置[nzShowTime]的nzDefaultOpenValue属性无效 #4331
Comments
Translation of this issue:nz-date-picker provided [nzShowTime] Invalid attribute of nzDefaultOpenValueReproduction linkHttps://stackblitz.com/edit/angular-emkapf Steps to reproduceI want the default value is null nz-date-picker set up default is "00:00:00" in the choice of time, then set the [nzShowTime] of nzDefaultOpenValue property. But the opening time selection panel selected by default or the current time. What is expected?Default selection when the panel opening timing is set, minutes, seconds. What is actually happening?Default selection when the panel is open timing current time, minutes, seconds.
|
…G-ZORRO#4357) * fix(module:date-picker): `nzDefaultOpenValue` not work * fix: test * chore: do null check in lower component Close NG-ZORRO#4331
…G-ZORRO#4357) * fix(module:date-picker): `nzDefaultOpenValue` not work * fix: test * chore: do null check in lower component Close NG-ZORRO#4331
Reproduction link
https://stackblitz.com/edit/angular-emkapf
Steps to reproduce
我想让默认值为null的nz-date-picker组建在选择时间时默认选择“00:00:00",于是设置了[nzShowTime]的nzDefaultOpenValue属性。但是打开时间选择面板还是默认选中了当前时间。
What is expected?
打开时间选择面板时默认选择的是设置的时、分、秒。
What is actually happening?
打开时间选择面板时默认选择的是当前时间的时、分、秒。
The text was updated successfully, but these errors were encountered: