Skip to content

ColorPicker's value option is not taken with higher specificity #7816

@alestoya

Description

@alestoya

Bug report

ColorPicker's value option is not taken with higher specificity.

Reproduction of the problem

  1. Open the following dojo.
  2. Set the value option of the widget.
  3. Notice that the color is not changed despite having the configuration set.

Current behavior

Currently, the ColorPicker requires setting the value={color} attribute to the input element. However, value option does not alter the input's value despite being set.

This behavior is inconsistent with other picker widgets where the value option is taken more predominantly:

https://dojo.telerik.com/@alexander64836/UNeMajeG/3

Expected/desired behavior

The ColorPicker should take the value option with higher specificity. Even in scenarios where the value={color} attribute is present on the input.

Environment

  • Kendo UI version: 2024.1.319
  • Browser: [all]

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions