@xuda.io/runtime-bundle 1.0.255 → 1.0.256

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.
@@ -33767,15 +33767,17 @@ func.UI.screen.execute_xu_functions = async function (
33767
33767
  let is_dynamic_field = false
33768
33768
  let field_prop
33769
33769
 
33770
- const iterate_info = $elm?.data()?.xuData?.iterate_info
33771
- const reference_source_obj = iterate_info?.reference_source_obj
33770
+ // const iterate_info = $elm?.data()?.xuData?.iterate_info
33771
+ // const reference_source_obj = iterate_info?.reference_source_obj
33772
33772
 
33773
33773
 
33774
33774
 
33775
33775
  if (["_FOR_VAL", "_FOR_KEY"].includes(val.value)) {
33776
- if (reference_source_obj) {
33777
- view_field_id = (reference_source_obj.fieldIdP || "") + val.value;
33778
- }
33776
+ // if (reference_source_obj) {
33777
+ // view_field_id = (reference_source_obj.fieldIdP || "") + val.value;
33778
+ // }
33779
+ view_field_id = $elm.data().xuData.node_org.id + val.value;
33780
+
33779
33781
  is_dynamic_field = true
33780
33782
  field_prop = _ds.dynamic_fields[view_field_id]
33781
33783
  } else {
@@ -34096,12 +34098,14 @@ func.UI.screen.execute_xu_functions = async function (
34096
34098
  // custom FOR_VAL name or namespaced default name
34097
34099
  if (!custom_iterator_key) {
34098
34100
  is_key_dynamic_field = true
34099
- iterator_key = (reference_source_obj?.fieldIdP || "") + "_FOR_KEY";
34101
+ // iterator_key = (reference_source_obj?.fieldIdP || "") + "_FOR_KEY";
34102
+ iterator_key = $elm.data().xuData.node_org.id + "_FOR_KEY";
34100
34103
  }
34101
34104
 
34102
34105
  if (!custom_iterator_val) {
34103
34106
  is_val_dynamic_field = true
34104
- iterator_val = (reference_source_obj?.fieldIdP || "") + "_FOR_VAL";
34107
+ // iterator_val = (reference_source_obj?.fieldIdP || "") + "_FOR_VAL";
34108
+ iterator_val = $elm.data().xuData.node_org.id + "_FOR_VAL";
34105
34109
  }
34106
34110
 
34107
34111
  var i = 0;