Closed
Description
Reproduction link
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).
Environment | Info |
---|---|
ng-zorro-antd | 19.0.2 |
Browser | Chrome |
Activity