@evoke-platform/ui-components 1.4.0-testing.15 → 1.4.0-testing.16
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.
@@ -719,7 +719,7 @@ formComponents, allCriteriaInputs, instance, objectPropertyInputProps, associate
|
|
719
719
|
// Set the associated instance as a default value and hide the field.
|
720
720
|
if (associatedObject?.instanceId &&
|
721
721
|
associatedObject?.propertyId &&
|
722
|
-
item.property
|
722
|
+
item.property?.id === associatedObject.propertyId) {
|
723
723
|
item.defaultValue = { id: associatedObject.instanceId };
|
724
724
|
item.hidden = true;
|
725
725
|
// If "conditional" is defined, the "hidden" property isn't respected.
|