-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Component: InputNumber - InputNumber is not dirty when value changes - not work with ReactiveForms #12268
Comments
Thanks ♥ |
Hi, Continuation of the issue at #12733 and it's fixed. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
When working with the p-inputNumber and reactive forms, listening for field value changes does not work. It only executes the change when the field is exited and executes the blur event. I cite the issue that had already been opened and never was given solution, in fact this person left the solution in the following link https://github.com/primefaces/primeng/pull/11093/files in line 850.
#10902
Environment
Angular version: 15.0.0
PrimeNG version: 14.2.2
Reproducer
https://stackblitz.com/edit/primeng-inputnumber-demo-hjxey9?file=src%2Fapp%2Fapp.component.ts,src%2Fapp%2Fapp.component.html
Angular version
15.0.0
PrimeNG version
14.2.2
Build / Runtime
Angular CLI App
Language
TypeScript
Node version (for AoT issues node --version)
16
Browser(s)
Chrome Version 107.0.5304.68 (Official Build) (64-bit)
Steps to reproduce the behavior
Type a different value in the primeNg number input -> The form does not become dirty.
However, typing in the normal text input -> The form becomes dirty.
Expected behavior
No response
The text was updated successfully, but these errors were encountered: