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 authored and nbrown-ScottLogic committed May 1, 2024
1 parent 8fa4028 commit cabf09f
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 cabf09f

Please sign in to comment.