radzen-blazor
radzen-blazor copied to clipboard
Colorpicker shows wrong color
Describe the bug Colorpicker shows wrong color when I close by clicking outside the popup.
To Reproduce Steps to reproduce the behavior:
- ShowButton = true
- select a color
- close the dialog by clicking outside the popup
- the displayed color is not reset. => BUG!
Expected behavior Reset the color if the popup is closed without clicking the "Apply" button.
Additional context I am currently solving the problem with a workaround. When the Close event is called, I use Reflection to set the private Color property to the Value property and call StateHasChanged.