diff --git a/superset-frontend/src/explore/components/controls/CollectionControl/index.jsx b/superset-frontend/src/explore/components/controls/CollectionControl/index.jsx index 8cadbf27f..384d23ed0 100644 --- a/superset-frontend/src/explore/components/controls/CollectionControl/index.jsx +++ b/superset-frontend/src/explore/components/controls/CollectionControl/index.jsx @@ -80,8 +80,9 @@ class CollectionControl extends React.Component { } onChange(i, value) { - Object.assign(this.props.value[i], value); - this.props.onChange(this.props.value); + const newValue = [...this.props.value]; + newValue[i] = { ...this.props.value[i], ...value }; + this.props.onChange(newValue); } onAdd() {