@evoke-platform/ui-components 1.0.0-dev.238 → 1.0.0-dev.239

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.
@@ -4,7 +4,7 @@ import { cloneDeep, isEmpty, pick } from 'lodash';
4
4
  import React from 'react';
5
5
  import ReactDOM from 'react-dom';
6
6
  import { FormComponentWrapper } from '../../Common';
7
- import { getAllCriteriaInputs, getPrefixedUrl, isPropertyVisible, transformToWhere, updateCriteriaInputs, } from '../../utils';
7
+ import { getAllCriteriaInputs, getPrefixedUrl, transformToWhere, updateCriteriaInputs } from '../../utils';
8
8
  import { ObjectPropertyInput } from './ObjectPropertyInput';
9
9
  export class ObjectComponent extends ReactComponent {
10
10
  constructor(component, options, data) {
@@ -130,7 +130,7 @@ export class ObjectComponent extends ReactComponent {
130
130
  this.root.customErrors = this.root.customErrors.filter((error) => error.formattedKeyOrPath !== this.component.key);
131
131
  }
132
132
  handleValidation() {
133
- if (!isPropertyVisible(this.component.conditional, this.root.data)) {
133
+ if (!this.visible) {
134
134
  return;
135
135
  }
136
136
  //check for out-of-the-box formio errors which store on this.root.errors
@@ -228,6 +228,7 @@ export const ObjectPropertyInput = (props) => {
228
228
  setDropdownInput(undefined); // refresh search options
229
229
  setSelectedInstance(undefined);
230
230
  handleChangeObjectProperty(property.id, null);
231
+ instance[property.id] = null;
231
232
  }
232
233
  else {
233
234
  const selectedInstance = options.find((o) => o.id === value?.value);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@evoke-platform/ui-components",
3
- "version": "1.0.0-dev.238",
3
+ "version": "1.0.0-dev.239",
4
4
  "description": "",
5
5
  "main": "dist/published/index.js",
6
6
  "module": "dist/published/index.js",