develnext
develnext copied to clipboard
Unable to set color value as string in UXColorPicker
$this->colorPicker->value = 'red'; // throws an exception.
but,
$this->colorPicker->value = UXColor::of('red'); // doesn't throw an exception.