Color fieldtype not rendering as expected in admin
When I add a
type="color" field to a template it's not rendering as expected. It works in that clicking on it allows you to select a colour and saves it, but the field doesn't display a nice swatch of the selected colour.
It's displaying correctly for the header colour selection in general settings.
The issue appears to be that the input field has the class
input-simple applied to it. Removing that class (with dev tools) makes it display as expected.
Here is the code in my template:
<perch:content label="Primary Colour" type="color" id="primarycolour" value="#222222" suppress="true" />
Here's the output in the admin:
<input type="color" id="perch_3_primarycolour" name="perch_3_primarycolour" value="#222222" class="color m input-simple">
This is Runway on Mac/Chrome.