Hi,
Color picker component in extension is behaving strange and not updating the selected colour.
Properties:
var colorPalette = [
'#b0afae', // light gray 1
'#7b7a78', // light gray 2
'#545352', // light gray 3
'#4477aa', // light blue 1
'#7db8da', // light blue 2
'#b6d7ea', // light blue 3
'#46c646', // light green
'#f93f17', // red
'#ffcf02', // yellow
'#276e27', // green
'#ffffff', // white
'#000000' // black
];
markerColor: {
label:"Marker Color",
component: "color-picker",
ref: "props.ccRule1.markerColor",
type: "object",
defaultValue: {
index: 7,
color: colorPalette[7]
},
show: function(layout){
return layout.props.ccRule1.show;
}
}
Version
Qlik Sense Enterprise, April 2018 12.2.6
Any thoughts much appreciated.
Thanks,
Seb.