@xuda.io/runtime-bundle 1.0.254 → 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 {
@@ -34091,16 +34093,19 @@ func.UI.screen.execute_xu_functions = async function (
34091
34093
 
34092
34094
  let iterator_key = custom_iterator_key
34093
34095
  let iterator_val = custom_iterator_val
34096
+ let is_key_dynamic_field, is_val_dynamic_field
34094
34097
 
34095
34098
  // custom FOR_VAL name or namespaced default name
34096
34099
  if (!custom_iterator_key) {
34097
34100
  is_key_dynamic_field = true
34098
- 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";
34099
34103
  }
34100
34104
 
34101
34105
  if (!custom_iterator_val) {
34102
34106
  is_val_dynamic_field = true
34103
- 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";
34104
34109
  }
34105
34110
 
34106
34111
  var i = 0;