Merge pull request #4336 from do7be/fix/type-array-value-to-string

Fix Array.js value to string
This commit is contained in:
Norbert de Langen 2018-10-10 11:51:42 +00:00 committed by GitHub
commit bda1dc0020
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -28,7 +28,9 @@ class ArrayType extends React.Component {
render() {
const { knob } = this.props;
return <Textarea id={knob.name} value={knob.value} onChange={this.handleChange} size="flex" />;
const value = knob.value.join(knob.separator);
return <Textarea id={knob.name} value={value} onChange={this.handleChange} size="flex" />;
}
}