When assigning options in HTML like this:
<color-picker class='col-sm-1' ng-model="entity.color" options="{format:'hex',,swatchOnly:true}" /></color-picker>
I get a compile error:
Error: [$compile:nonassign] http://errors.angularjs.org/1.5.8/$compile/nonassign?p0=%7Bformat%3A'hex'%2CswatchOnly%3Atrue%7D&p1=options&p2=colorPicker
Hi.
When assigning options in HTML like this:
<color-picker class='col-sm-1' ng-model="entity.color" options="{format:'hex',,swatchOnly:true}" /></color-picker>
I get a compile error:
Error: [$compile:nonassign] http://errors.angularjs.org/1.5.8/$compile/nonassign?p0=%7Bformat%3A'hex'%2CswatchOnly%3Atrue%7D&p1=options&p2=colorPicker
But it's working... :)
colorpicker: 2.4.1 tinycolor: 1.4.1 angular: 1.5.8