There was an error while loading. Please reload this page.
1 parent 719de09 commit fc9296fCopy full SHA for fc9296f
1 file changed
components/ColorPicker/src/ColorPicker.cs
@@ -766,7 +766,7 @@ private void UpdateColorControlValues()
766
767
if (this.PaletteItemGridView != null)
768
{
769
- this.PaletteItemGridView.SelectedItem = (this.CustomPaletteColors?.Contains(rgbColor) ?? false) ? rgbColor : null;
+ this.PaletteItemGridView.SelectedItem = (this.CustomPaletteColors?.Contains(rgbColor) ?? false) ? (object)rgbColor : null;
770
}
771
772
if (eventsDisconnectedByMethod)
0 commit comments