mmhglobal-dynamicform 2.6.2 → 2.6.3

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.
@@ -12063,16 +12063,15 @@ class ZudfComponent extends ContainerFieldBase {
12063
12063
  if (Array.isArray(patchedModelData[model])) {
12064
12064
  const gridValue = `${model}${this.prefixValueOption}`;
12065
12065
  const gridDataSource = `${model}${this.prefixDataSourceName}`;
12066
- // Check is it kcard, sometime can be dropdown.
12067
- const component = ZComponentHelper.getComponentByValue(this.group, model);
12068
- if (component?.data?.Type === 'kcard') {
12069
- // Update the data source for the grid
12070
- group[gridDataSource] = patchedModelData[model];
12071
- // Update the grid value
12072
- if (group[gridValue]) {
12073
- group[gridValue].setData(group[gridDataSource]);
12074
- }
12066
+ //const component = ZComponentHelper.getComponentByValue(this.group, model);
12067
+ //if (component?.data?.Type === 'kcard' || component?.data?.Type === 'zgrid') {
12068
+ // Update the data source for the grid
12069
+ group[gridDataSource] = patchedModelData[model];
12070
+ // Update the grid value
12071
+ if (group[gridValue]) {
12072
+ group[gridValue].setData(group[gridDataSource]);
12075
12073
  }
12074
+ //}
12076
12075
  }
12077
12076
  }
12078
12077
  // Update the form group model