@xuda.io/runtime-bundle 1.0.1312 → 1.0.1314

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.
@@ -9038,7 +9038,7 @@ func.UI.update_xu_ref = function (SESSION_ID, dsSessionP, ref_field_id, $elm) {
9038
9038
  const proxy = new Proxy(target, {
9039
9039
  set(obj, prop, value) {
9040
9040
  const oldValue = obj[prop];
9041
- const currentPath = [...path, prop];
9041
+ let currentPath = [...path, prop];
9042
9042
 
9043
9043
  // Set the new value
9044
9044
  obj[prop] = value;
@@ -9050,6 +9050,7 @@ func.UI.update_xu_ref = function (SESSION_ID, dsSessionP, ref_field_id, $elm) {
9050
9050
 
9051
9051
  // Notify of change
9052
9052
  if (oldValue !== value) {
9053
+ currentPath.shift();
9053
9054
  onChange({
9054
9055
  path: currentPath.join('.'),
9055
9056
  oldValue,
@@ -9039,7 +9039,7 @@ func.UI.update_xu_ref = function (SESSION_ID, dsSessionP, ref_field_id, $elm) {
9039
9039
  const proxy = new Proxy(target, {
9040
9040
  set(obj, prop, value) {
9041
9041
  const oldValue = obj[prop];
9042
- const currentPath = [...path, prop];
9042
+ let currentPath = [...path, prop];
9043
9043
 
9044
9044
  // Set the new value
9045
9045
  obj[prop] = value;
@@ -9051,6 +9051,7 @@ func.UI.update_xu_ref = function (SESSION_ID, dsSessionP, ref_field_id, $elm) {
9051
9051
 
9052
9052
  // Notify of change
9053
9053
  if (oldValue !== value) {
9054
+ currentPath.shift();
9054
9055
  onChange({
9055
9056
  path: currentPath.join('.'),
9056
9057
  oldValue,