@xuda.io/runtime-bundle 1.0.698 → 1.0.699
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.
package/js/xuda-runtime-slim.js
CHANGED
|
@@ -14285,7 +14285,7 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
|
|
|
14285
14285
|
};
|
|
14286
14286
|
const get_property_value = async function (fieldIdP, val) {
|
|
14287
14287
|
if (!val) return;
|
|
14288
|
-
var value = props[fieldIdP]
|
|
14288
|
+
var value = fieldIdP in props ? props[fieldIdP] : typeof val.defaultValue === 'function' ? val?.defaultValue?.() : val?.defaultValue;
|
|
14289
14289
|
if (val.render === 'eventId') {
|
|
14290
14290
|
value = props?.[fieldIdP]?.event;
|
|
14291
14291
|
}
|
|
@@ -12007,7 +12007,7 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
|
|
|
12007
12007
|
};
|
|
12008
12008
|
const get_property_value = async function (fieldIdP, val) {
|
|
12009
12009
|
if (!val) return;
|
|
12010
|
-
var value = props[fieldIdP]
|
|
12010
|
+
var value = fieldIdP in props ? props[fieldIdP] : typeof val.defaultValue === 'function' ? val?.defaultValue?.() : val?.defaultValue;
|
|
12011
12011
|
if (val.render === 'eventId') {
|
|
12012
12012
|
value = props?.[fieldIdP]?.event;
|
|
12013
12013
|
}
|