Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
sebastian_serva
Partner - Contributor III
Partner - Contributor III

Color picker component not updating selected colour

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;

}

}

color-picker-not-updating.png

Version
Qlik Sense Enterprise, April 2018 12.2.6

Any thoughts much appreciated.

Thanks,

Seb.

0 Replies