@evoke-platform/ui-components 1.8.0-testing.8 → 1.8.0-testing.9
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.
|
@@ -254,6 +254,7 @@ export function convertFormToComponents(entries, parameters, object) {
|
|
|
254
254
|
conditional: convertVisibilityToConditional(displayOptions?.visibility),
|
|
255
255
|
viewLayout: displayOptions?.viewLayout,
|
|
256
256
|
strictlyTrue: parameter.type === 'boolean' && parameter.strictlyTrue,
|
|
257
|
+
documentMetadata: parameter.type === 'document' ? entry.documentMetadata : undefined,
|
|
257
258
|
};
|
|
258
259
|
}
|
|
259
260
|
})
|
|
@@ -420,6 +421,7 @@ export function convertComponentsToForm(components) {
|
|
|
420
421
|
}
|
|
421
422
|
: {}),
|
|
422
423
|
},
|
|
424
|
+
...(component.documentMetadata ? { documentMetadata: component.documentMetadata } : {}),
|
|
423
425
|
enumWithLabels: component.data?.values,
|
|
424
426
|
};
|
|
425
427
|
}
|