@xuda.io/runtime-bundle 1.0.759 → 1.0.761

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.
@@ -12607,7 +12607,7 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
12607
12607
  // let new_val = eval(e_exp + `="${value}"`);
12608
12608
  let e_exp = val.value.replace(bind_field_id, 'obj_item');
12609
12609
 
12610
- let new_val = eval(e_exp + `="${value}"`);
12610
+ let new_val = eval(e_exp + input_field_type === 'string' ? `="${value}"` : `=${value}`);
12611
12611
 
12612
12612
  new_arr[arr_idx] = obj_item;
12613
12613
  } else {
@@ -12644,7 +12644,7 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
12644
12644
  value = _ds.dynamic_fields[bind_field_id].value;
12645
12645
  } else {
12646
12646
  const row_idx = func.common.find_ROWID_idx(_ds, _ds.currentRecordId);
12647
- value = _ds.data_feed.rows?.[row_idx]?.[val.value];
12647
+ value = _ds.data_feed.rows?.[row_idx]?.[bind_field_id];
12648
12648
  }
12649
12649
  if (field_prop.props.fieldType === 'array' && $elm.attr('type') === 'checkbox' && $elm.attr('value')) {
12650
12650
  if (value.includes($elm.attr('value'))) {
@@ -10317,7 +10317,7 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
10317
10317
  // let new_val = eval(e_exp + `="${value}"`);
10318
10318
  let e_exp = val.value.replace(bind_field_id, 'obj_item');
10319
10319
 
10320
- let new_val = eval(e_exp + `="${value}"`);
10320
+ let new_val = eval(e_exp + input_field_type === 'string' ? `="${value}"` : `=${value}`);
10321
10321
 
10322
10322
  new_arr[arr_idx] = obj_item;
10323
10323
  } else {
@@ -10354,7 +10354,7 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
10354
10354
  value = _ds.dynamic_fields[bind_field_id].value;
10355
10355
  } else {
10356
10356
  const row_idx = func.common.find_ROWID_idx(_ds, _ds.currentRecordId);
10357
- value = _ds.data_feed.rows?.[row_idx]?.[val.value];
10357
+ value = _ds.data_feed.rows?.[row_idx]?.[bind_field_id];
10358
10358
  }
10359
10359
  if (field_prop.props.fieldType === 'array' && $elm.attr('type') === 'checkbox' && $elm.attr('value')) {
10360
10360
  if (value.includes($elm.attr('value'))) {