@xuda.io/runtime-bundle 1.0.664 → 1.0.666
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-bundle.js +4 -2
- package/js/xuda-runtime-bundle.min.js +1 -1
- package/js/xuda-runtime-slim.js +4 -2
- package/js/xuda-runtime-slim.min.es.js +4 -2
- package/js/xuda-runtime-slim.min.js +1 -1
- package/js/xuda-server-bundle.min.mjs +1 -1
- package/js/xuda-server-bundle.mjs +2 -1
- package/js/xuda-worker-bundle.js +2 -1
- package/js/xuda-worker-bundle.min.js +1 -1
- package/package.json +1 -1
|
@@ -29983,7 +29983,8 @@ func.datasource.update = async function (SESSION_ID, datasource_changes, update_
|
|
|
29983
29983
|
|
|
29984
29984
|
try {
|
|
29985
29985
|
const row_idx = func.common.find_ROWID_idx(_ds, record_id);
|
|
29986
|
-
if (_ds.data_feed.rows[row_idx][field_id] !== value) {
|
|
29986
|
+
// if (_ds.data_feed.rows[row_idx][field_id] !== value) {
|
|
29987
|
+
if (!_.isEqual(_ds.data_feed.rows[row_idx][field_id], value)) {
|
|
29987
29988
|
_ds.data_feed.rows[row_idx][field_id] = value;
|
|
29988
29989
|
await set_fieldComputed_dependencies(dataSource, field_id, null);
|
|
29989
29990
|
|
|
@@ -32067,8 +32068,9 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
|
|
|
32067
32068
|
const field_changed = async function (e) {
|
|
32068
32069
|
var _ds = SESSION_OBJ[SESSION_ID].DS_GLB[_dsP];
|
|
32069
32070
|
|
|
32071
|
+
// update array for checkbox that not in xu-for
|
|
32070
32072
|
if (field_prop.props.fieldType === 'array' && $elm.attr('type') === 'checkbox' && val_is_reference_field) {
|
|
32071
|
-
let arr_value_before_cast = (await func.datasource.get_value(SESSION_ID, bind_field_id, _dsP, _ds.currentRecordId)).ret.value;
|
|
32073
|
+
let arr_value_before_cast = _.clone((await func.datasource.get_value(SESSION_ID, bind_field_id, _dsP, _ds.currentRecordId)).ret.value);
|
|
32072
32074
|
let value_from_getter = bind.getter($elm[0]);
|
|
32073
32075
|
let value;
|
|
32074
32076
|
if (arr_value_before_cast.includes(value_from_getter)) {
|