@xuda.io/runtime-bundle 1.0.475 → 1.0.476

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.
@@ -28256,7 +28256,12 @@ func.UI.update_xu_ref = function (SESSION_ID, dsSessionP, ref_field_id, $elm) {
28256
28256
  SYS_GLOBAL_OBJ_REFS[ref_field_id].props = _ds.in_parameters || {};
28257
28257
 
28258
28258
  if ($elm) {
28259
- const attributes = $elm?.data()?.xuPanelWrapper?.panelXuAttributes || $elm?.data()?.xuData?.debug_info?.attribute_stat || {};
28259
+ const get_attributes = function (retry = 0) {
28260
+ if (retry > 50) return;
28261
+ $elm?.data()?.xuPanelWrapper?.panelXuAttributes || $elm?.data()?.xuData?.debug_info?.attribute_stat || get_attributes(retry + 1);
28262
+ };
28263
+
28264
+ const attributes = get_attributes();
28260
28265
  SYS_GLOBAL_OBJ_REFS[ref_field_id].attributes = attributes;
28261
28266
  SYS_GLOBAL_OBJ_REFS[ref_field_id].xu_ui_id = $elm.attr('xu-ui-id');
28262
28267
  }