@evoke-platform/ui-components 1.4.0-testing.14 → 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.
@@ -102,7 +102,7 @@ const PropertyTree = ({ fetchObject, handleTreePropertySelect, rootObject, value
|
|
102
102
|
}
|
103
103
|
};
|
104
104
|
return (React.createElement(Autocomplete, { "aria-label": "Property Selector", value: value, fullWidth: true, sx: {
|
105
|
-
width: '
|
105
|
+
width: '37%',
|
106
106
|
}, disableClearable: true, options: propertyOptions.map((property) => {
|
107
107
|
return {
|
108
108
|
label: objectPropertyNamePathMap[property.id],
|
@@ -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.
|