FIX: allows color-input to set hex and color names through input (#9339)
This commit is contained in:
@@ -24,8 +24,7 @@ export default Component.extend({
|
||||
|
||||
@action
|
||||
onHexInput(color) {
|
||||
this.attrs.onChangeColor &&
|
||||
this.attrs.onChangeColor((color || "").replace(/^#/, ""));
|
||||
this.attrs.onChangeColor && this.attrs.onChangeColor(color || "");
|
||||
},
|
||||
|
||||
@observes("hexValue", "brightnessValue", "valid")
|
||||
|
||||
Reference in New Issue
Block a user