diff --git a/src/fields/color.jsx b/src/fields/color.jsx index 4c1895c..26ad8fb 100644 --- a/src/fields/color.jsx +++ b/src/fields/color.jsx @@ -11,9 +11,13 @@ static propTypes = { doc: React.PropTypes.string, } + onChange(e) { + return this.props.onChange(e.target.value) + } + render() { return { return {children: val, value: val} }) return