@xuda.io/runtime-bundle 1.0.663 → 1.0.665

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.
@@ -32067,8 +32067,9 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
32067
32067
  const field_changed = async function (e) {
32068
32068
  var _ds = SESSION_OBJ[SESSION_ID].DS_GLB[_dsP];
32069
32069
 
32070
+ // update array for checkbox that not in xu-for
32070
32071
  if (field_prop.props.fieldType === 'array' && $elm.attr('type') === 'checkbox' && val_is_reference_field) {
32071
- let arr_value_before_cast = (await func.datasource.get_value(SESSION_ID, bind_field_id, _dsP, _ds.currentRecordId)).ret.value;
32072
+ let arr_value_before_cast = _.clone((await func.datasource.get_value(SESSION_ID, bind_field_id, _dsP, _ds.currentRecordId)).ret.value);
32072
32073
  let value_from_getter = bind.getter($elm[0]);
32073
32074
  let value;
32074
32075
  if (arr_value_before_cast.includes(value_from_getter)) {