@xuda.io/runtime-bundle 1.0.766 → 1.0.768

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.
@@ -4944,11 +4944,11 @@ func.datasource.update = async function (SESSION_ID, datasource_changes, update_
4944
4944
  }
4945
4945
  ///// REFRESH SCREEN
4946
4946
  if (!avoid_refresh && fields_changed.length) {
4947
- await func.UI.screen.refresh_xu_attributes(SESSION_ID, fields_changed);
4947
+ await func.UI.screen.refresh_xu_attributes(SESSION_ID, _.cloneDeep(fields_changed));
4948
4948
  // await removed from the below function cause to dead lock Mar 3 25
4949
4949
  await func.UI.screen.refresh_screen(
4950
4950
  SESSION_ID,
4951
- fields_changed,
4951
+ _.cloneDeep(fields_changed),
4952
4952
  null,
4953
4953
  datasource_changed[0], // refresh the current datasource only
4954
4954
  );
@@ -12622,7 +12622,7 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
12622
12622
  },
12623
12623
  },
12624
12624
  };
12625
- await func.datasource.update(SESSION_ID, datasource_changes, null, true);
12625
+ await func.datasource.update(SESSION_ID, datasource_changes, null, ['radio', 'checkbox'].includes(input_field_type) ? true : false);
12626
12626
  }
12627
12627
  }
12628
12628
  }
@@ -4945,11 +4945,11 @@ func.datasource.update = async function (SESSION_ID, datasource_changes, update_
4945
4945
  }
4946
4946
  ///// REFRESH SCREEN
4947
4947
  if (!avoid_refresh && fields_changed.length) {
4948
- await func.UI.screen.refresh_xu_attributes(SESSION_ID, fields_changed);
4948
+ await func.UI.screen.refresh_xu_attributes(SESSION_ID, _.cloneDeep(fields_changed));
4949
4949
  // await removed from the below function cause to dead lock Mar 3 25
4950
4950
  await func.UI.screen.refresh_screen(
4951
4951
  SESSION_ID,
4952
- fields_changed,
4952
+ _.cloneDeep(fields_changed),
4953
4953
  null,
4954
4954
  datasource_changed[0], // refresh the current datasource only
4955
4955
  );
@@ -10332,7 +10332,7 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
10332
10332
  },
10333
10333
  },
10334
10334
  };
10335
- await func.datasource.update(SESSION_ID, datasource_changes, null, true);
10335
+ await func.datasource.update(SESSION_ID, datasource_changes, null, ['radio', 'checkbox'].includes(input_field_type) ? true : false);
10336
10336
  }
10337
10337
  }
10338
10338
  }