Component: colorPicker - color not updated in selection square with reactive forms #15266
Labels
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
Describe the bug
colorPicker which uses forms, not ngModel, does not update the selected color square in realtime, when mouse is moving over the color pallette.
However, when an empty onChange handler is added to it (onChange)="true", it starts updating correctly.
Environment
Angular + electron on Chrome and MacOS
Reproducer
https://stackblitz.com/edit/github-4fz6wx?file=README.md
Angular version
17.0.8
PrimeNG version
17.11.0, reproduces on 17.13.0 too
Build / Runtime
Angular CLI App
Language
TypeScript
Node version (for AoT issues node --version)
21.7.3
Browser(s)
Chrome
Steps to reproduce the behavior
run stackblitz example, the instruction is in html
Expected behavior
The colorPicker should update its selected color in realtime always, without the empty onChange handler added.
The text was updated successfully, but these errors were encountered: