Skip to content

Commit

Permalink
fix(primeng/p-colorPicker): reactive control not updated when mousemo…
Browse files Browse the repository at this point in the history
…ve triggered

Fixes primefaces#15266.
  • Loading branch information
volvachev committed Apr 19, 2024
1 parent f41fa9c commit d3e6ae4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/app/components/colorpicker/colorpicker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -379,6 +379,7 @@ export class ColorPicker implements ControlValueAccessor, OnDestroy {

updateModel(): void {
this.onModelChange(this.getValueToUpdate());
this.cd.markForCheck();
}

writeValue(value: any): void {
Expand Down

0 comments on commit d3e6ae4

Please sign in to comment.