Closed cmckni3 closed 7 years ago
<span [(colorPicker)]="highlightColors[highlightColor]" [cpOutputFormat]="'hex'" [cpDialogDisplay]="'inline'" [style.background]="highlightColors[highlightColor]" [cpToggle]="true"> </span>
Error:
EXCEPTION: Error in ./DialogComponent class DialogComponent - inline template:30:182 caused by: Cannot read property 'a' of undefined
I figured it out. My initial color was undefined because it's bound to the ngForm.
Error: