Spectrum Color Picker Behavior

Permalink
I think one thing that would improve the usability of the built in color picker is for the color picker to not require the user to click 'Choose'.

Heres an example from the Spectrum color picker website:
http://jsfiddle.net/bgrins/ctkY3/...

See how to color is selected by just clicking away from the picker? Clicking Choose isn't required.

People are use to color pickers working this way. How can we get the spectrum color picker inside Concrete5 to work the same way?

ob7dev
 
ob7dev replied on at Permalink Best Answer Reply
ob7dev
Just figured this out.

Its one of spectrums options, listed under options here:http://bgrins.github.io/spectrum/...

The one I'm referring to is
clickoutFiresChange: bool,


It just has to be passed like any other value when making a color selector:
<?php echo $color->output('myColor', $myColor, array('clickoutFiresChange'=>true));?>