diff --git a/packages/decap-cms-widget-object/src/ObjectControl.js b/packages/decap-cms-widget-object/src/ObjectControl.js index 9a74e1b8290b..2f974aabdcc9 100644 --- a/packages/decap-cms-widget-object/src/ObjectControl.js +++ b/packages/decap-cms-widget-object/src/ObjectControl.js @@ -89,6 +89,7 @@ export default class ObjectControl extends React.Component { isFieldHidden, locale, collapsed, + forID, } = this.props; if (field.get('widget') === 'hidden') { @@ -112,7 +113,7 @@ export default class ObjectControl extends React.Component { onValidate={onValidateObject} processControlRef={controlRef && controlRef.bind(this)} controlRef={controlRef} - parentIds={parentIds} + parentIds={[...parentIds, forID]} isDisabled={isDuplicate} isHidden={isHidden} isFieldDuplicate={isFieldDuplicate}