Skip to content

Can't deselect color once saved in Umbraco.ColorPicker #19165

Closed
@alexroode

Description

@alexroode

Which Umbraco version are you using?

15.3.1

Bug summary

Once you select a color for a property with Umbraco.ColorPicker property editor, there doesn't appear to be a way to persist a deselection of the color.

Specifics

No response

Steps to reproduce

  • Create a data type with the Umbraco.ColorPicker property editor, add a few colors to it, and add it to a content type
  • Create a content of that type and choose one of the colors, then save and publish
  • De-select the color by clicking on it again. Visually it appears nothing is selected
  • Save and publish
  • Refresh the page. The previously selected color appears to be selected once more

Expected result / actual result

  • I expected to be able to go back to the original state, with no color selected
  • If not that, I expect that I should not be able to deselect the color in the UI if that deselection cannot be persisted

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions