@yuuvis/client-framework 3.19.0 → 3.20.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -373,15 +373,21 @@ class NodeSummaryComponent {
373
373
  const metaKeys = Object.keys(object.data).filter((key) => {
374
374
  return key.startsWith(`${propertyName}_`);
375
375
  });
376
- const schemaResponse = this.#system.system?.allFields[propertyName];
377
- if (!schemaResponse)
376
+ // Resolved on the object, not globally: the property may be contributed by one of the
377
+ // object's secondary object types, which can override its schema attributes (e.g. bind it
378
+ // to its own dynamic catalog).
379
+ const field = this.#system.getDmsObjectTypeField(object, propertyName);
380
+ if (!field)
378
381
  return undefined;
379
382
  return {
380
383
  label: this.#localization.getLocalizedLabel(propertyName.replace('_title', '')) || propertyName,
381
384
  rendererInput: {
382
385
  propertyName,
383
386
  value: object.data[propertyName],
384
- rendererType: this.#system.getInternalFormElementType(schemaResponse.propertyType, schemaResponse.classifications || [], schemaResponse.catalog),
387
+ // the type the property is actually contributed by, so the renderer resolves the
388
+ // field's schema overrides in the same context
389
+ objectTypeId: this.#system.getDmsObjectFieldTypeId(object, propertyName),
390
+ rendererType: field._internalType,
385
391
  meta: metaKeys.reduce((metaObj, key) => {
386
392
  metaObj[key] = object.data[key];
387
393
  return metaObj;