Suppress extra value on edit when using HTML5 widget

Created on 3 June 2024, 10 months ago
Updated 18 June 2024, 10 months ago

Problem/Motivation

The HTML5 color input effectively provides a default value of #000. When creating a new or editing an existing entity, this means that the default, new value automatically added will be saved, perhaps unintentionally.

Proposed resolution

Add a configuration option to suppress this extra value. Something similar was implemented in the Smart Date module in #3166698: Option to not show an empty field by default .

Feature request
Status

Fixed

Version

3.0

Component

Code

Created by

🇨🇦Canada mandclu

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024