diff --git a/src/components/Widgets/ListControl.js b/src/components/Widgets/ListControl.js index cbebdb86..1b0ee239 100644 --- a/src/components/Widgets/ListControl.js +++ b/src/components/Widgets/ListControl.js @@ -102,7 +102,7 @@ export default class ListControl extends Component { return (e) => { e.preventDefault(); const { value, metadata, onChange, forID } = this.props; - const parsedMetadata = { [forID]: metadata.remove(metadata.keySeq().get(0)) }; + const parsedMetadata = { [forID]: metadata.removeIn(value.get(index).valueSeq()) }; onChange(value.remove(index), parsedMetadata); }; }