narsenico / a-color-picker

A color picker for web app
MIT License
107 stars 21 forks source link

using with angular 8 and ng-bootstrap throws an error #25

Open canbax opened 4 years ago

canbax commented 4 years ago

I'm using a-color-picker with angular 8 and ng-bootstrap.

I'm showing an NgbModal and inside that picker shown. I see the below error message (but it continues to work without a problem) It might be a bug of angular as well

ERROR Error: ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked. Previous value: 'ng-untouched: true'. Current value: 'ng-untouched: false'. at viewDebugError (core.js:28793) at expressionChangedAfterItHasBeenCheckedError (core.js:28770) at checkBindingNoChanges (core.js:29758) at checkNoChangesNodeInline (core.js:44443) at checkNoChangesNode (core.js:44416) at debugCheckNoChangesNode (core.js:45377) at debugCheckRenderNodeFn (core.js:45309) at Object.eval [as updateRenderer] (ColorPickerComponent.html:9) at Object.debugUpdateRenderer [as updateRenderer] (core.js:45294) at checkNoChangesView (core.js:44251)