primeng icon indicating copy to clipboard operation
primeng copied to clipboard

InputNumber reactive form updateOn 'blur' issue

Open neergaard79 opened this issue 3 years ago • 2 comments

When using the up/down arrows to adjust the InputNumber component, the reactive form control is updated even though it is set to update on 'blur'. Expected behavior is that the event won't fire until the component loses focus.

Check out the behavior here: https://stackblitz.com/edit/angular-ivy-faa8cv

Thanks!

neergaard79 avatar Feb 23 '23 15:02 neergaard79

Hi @neergaard79,

I've referenced the issue in https://github.com/primefaces/primeng/issues/12915 Closing this.

cetincakiroglu avatar Apr 25 '23 07:04 cetincakiroglu

Finally got to test this and it is still an issue. Using the up/down arrow to change the number, updates the form control value immediately (ignoring the 'blur' option).

https://stackblitz.com/edit/gk74em?file=src%2Fapp%2Fdemo%2Finput-number-reactive-forms-demo.html,src%2Fapp%2Fdemo%2Finput-number-reactive-forms-demo.ts

Regards,

Jacob

Den tirs. 25. apr. 2023 kl. 09.39 skrev Çetin @.***>:

Hi @neergaard79 https://github.com/neergaard79,

I've referenced the issue in #12915 https://github.com/primefaces/primeng/issues/12915 Closing this.

— Reply to this email directly, view it on GitHub https://github.com/primefaces/primeng/issues/12673#issuecomment-1521301985, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHEH4IUPPVEZ4T6JGZ4OWJTXC55TPANCNFSM6AAAAAAVF2DMI4 . You are receiving this because you were mentioned.Message ID: @.***>

neergaard79 avatar May 15 '23 11:05 neergaard79