Open agugan opened 3 years ago
@yigitfindikli I also face the same issue. Any update on this would be appreciated.
@yigitfindikli Any updates on this?
the same issue but with AutoComplete I would also much appreciate if this is fixed
Hi,
So sorry for the delayed response! Improvements have been made to many components recently, both in terms of performance and enhancement. Therefore, this improvement may have been developed in another issue ticket without realizing it. You can check this in the documentation. If there is no improvement on this, can you reopen the issue so we can include it in our roadmap? Please don't forget to add your feedback as a comment after reopening the issue. These will be taken into account by us and will contribute to the development of this feature. Thanks a lot for your understanding!
Best Regards,
@mertsincan Hi Mertsincan, I'm still facing the same issue.
I've found a potential fix for this bug by simply appending pipe(debounceTime(500))
to the valueChanges observable (edit milliseconds as you wish)
While I acknowledge that this may not be a definitive solution, I hope it proves helpful.
I'm submitting a
Current behavior
CheckBox form values are updated twice when used with reactive forms.
I think it is because along with registerOnChange, we have formControl.setValue being called explicitly when used with Reactive forms.
Expected behavior
CheckBox form values should be updated only once when used with reactive forms.
Minimal reproduction of the problem with instructions https://stackblitz.com/edit/primeng-checkbox-bug
In the above stackblitz, if you check the console.log of
formControl.valueChanges
, you can see it is being logged twice.Angular version: 11.0.0
PrimeNG version: 11.0.0-rc.1
Browser: Tested in Chrome, Firefox
Happy to help with a PR. Thanks for the awesome library.