You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Why does it have (change) event instead of (ngModelChange) as it was before? Is it possible to fire onChange() event not when user triggers blur event?
What is actually happening?
It doesn't fire onChange event from ControlValueAccessor on input or onModelChange. Also, is it possible to remove value from field at all? - when I remove the value, it turns to nil (0).
Environment
Info
ng-zorro-antd
19.0.2
Browser
Chrome
The text was updated successfully, but these errors were encountered:
Reproduction link
https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/components/input-number/input-number.component.ts
Steps to reproduce
new component - https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/components/input-number/input-number.component.ts
legacy component - https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/components/input-number-legacy/input-number.component.ts
Why does it have (change) event instead of (ngModelChange) as it was before?
https://stackblitz.com/edit/qep7bq9r?file=src%2Fapp%2Fapp.component.ts
What is expected?
Why does it have (change) event instead of (ngModelChange) as it was before? Is it possible to fire onChange() event not when user triggers blur event?
What is actually happening?
It doesn't fire onChange event from ControlValueAccessor on input or onModelChange. Also, is it possible to remove value from field at all? - when I remove the value, it turns to nil (0).
The text was updated successfully, but these errors were encountered: