add option to allow own color in simpleColourPicker

Description

Beside the given possibilities in the simpleColourPicker formcontrol an option to edit an own colour would be helpful.

My usecase: I need to set a backgroundcolor for an object. The color is given by the customer. Of course the color most times doesn't match the defined palette.

idea:
new option:
allowInput = IsTrue( args.allowInput ?: "" ); // allow editing the colour

make textfield editable:
<input <cfif showInput || allowInput>type="text" <cfif

-- pattern must be fit the args.colourFormat setting -->

js:
$colourPicker.on('change','.selected-colour-input', function(){ } ) // Handler for keyboardinput

Assignee

Unassigned

Reporter

Michael Hnat

Labels

None

Accepted

None

Priority

Medium
Configure