Skip to content

Commit

Permalink
Merge main to develop
Browse files Browse the repository at this point in the history
  • Loading branch information
bpmn-io-bot committed May 31, 2024
2 parents 49dd7af + 64586ec commit e22c452
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions packages/form-js-viewer/src/core/FieldFactory.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,13 +88,11 @@ export class FieldFactory {
this._enforceDefaultPath(field);
}

if (field.path) {
this._pathRegistry.claimPath(this._pathRegistry.getValuePath(field), {
isRepeatable: config.repeatable,
claimerId: field.id,
knownAncestorIds: getAncestryList(_parent, this._formFieldRegistry),
});
}
this._pathRegistry.claimPath(this._pathRegistry.getValuePath(field), {
isRepeatable: config.repeatable,
claimerId: field.id,
knownAncestorIds: getAncestryList(_parent, this._formFieldRegistry),
});
}

return field;
Expand Down

0 comments on commit e22c452

Please sign in to comment.