Add a new color field type

Created on 20 August 2012, almost 13 years ago
Updated 30 January 2023, over 2 years ago

Now that we have #1445224: Add new HTML5 FAPI element: color landed for FAPI, we should really add the ability to have a color field type. It should probably have one column 'color' of type SQL varchar(7), and a field widget using the new HTML5 FAPI type, and a default formatter of just 'plain text' that outputs the raw value.

Based on #1675000: Allow selecting an alpha channel for the color FAPI element we may add support for an 'alpha' column via a field setting (since it changes the field schema).

Feature request
Status

Needs work

Version

10.1

Component

field system

Created by

🇺🇸United States dave reid Nebraska USA

Live updates comments and jobs are added and updated live.
  • html5

    Implements and supports the use of HTML5.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024