In Chrome component, the fieldsIndex is set to 0 (hex) by default, so when the initial value is not hex it'll still show hex input in the colorpicker.
I'd like to request the following feature:
:formats="['hex','rgb','hsl']" lists which format should be available
:format="rgba" will set fieldIndex to the desired color format
:detectFormat="true" will auto detect format. If value is empty, fall back on :format
forceFormat="true"will take the input format and convert to :format
This feature gives better control of the input/output
In Chrome component, the fieldsIndex is set to 0 (hex) by default, so when the initial value is not hex it'll still show hex input in the colorpicker.
I'd like to request the following feature:
:formats="['hex','rgb','hsl']"
lists which format should be available:format="rgba"
will set fieldIndex to the desired color format:detectFormat="true"
will auto detect format. If value is empty, fall back on :formatforceFormat="true"
will take the input format and convert to :formatThis feature gives better control of the input/output