neo.mjs 5.3.13 → 5.3.14
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/apps/ServiceWorker.mjs
CHANGED
package/package.json
CHANGED
package/src/DefaultConfig.mjs
CHANGED
@@ -237,12 +237,12 @@ const DefaultConfig = {
|
|
237
237
|
useVdomWorker: true,
|
238
238
|
/**
|
239
239
|
* buildScripts/injectPackageVersion.mjs will update this value
|
240
|
-
* @default '5.3.
|
240
|
+
* @default '5.3.14'
|
241
241
|
* @memberOf! module:Neo
|
242
242
|
* @name config.version
|
243
243
|
* @type String
|
244
244
|
*/
|
245
|
-
version: '5.3.
|
245
|
+
version: '5.3.14'
|
246
246
|
};
|
247
247
|
|
248
248
|
Object.assign(DefaultConfig, {
|
@@ -297,30 +297,28 @@ class Select extends Picker {
|
|
297
297
|
let me = this,
|
298
298
|
FormContainer = Neo.form?.Container,
|
299
299
|
record = me.record,
|
300
|
-
oldRecord;
|
300
|
+
oldRecord, params;
|
301
301
|
|
302
302
|
if (!(me.forceSelection && !record)) {
|
303
303
|
oldRecord = me.store.get(oldValue) || null;
|
304
304
|
|
305
|
-
|
305
|
+
params = {
|
306
306
|
component: me,
|
307
307
|
oldRecord,
|
308
308
|
oldValue,
|
309
309
|
record,
|
310
310
|
value
|
311
|
-
}
|
311
|
+
};
|
312
312
|
|
313
|
-
|
314
|
-
|
315
|
-
|
316
|
-
|
317
|
-
|
318
|
-
|
319
|
-
|
320
|
-
|
321
|
-
|
322
|
-
}
|
323
|
-
})
|
313
|
+
me.fire('change', params);
|
314
|
+
|
315
|
+
if (!me.suspendEvents) {
|
316
|
+
ComponentManager.getParents(me).forEach(parent => {
|
317
|
+
if (FormContainer && parent instanceof FormContainer) {
|
318
|
+
parent.fire('fieldChange', params)
|
319
|
+
}
|
320
|
+
})
|
321
|
+
}
|
324
322
|
}
|
325
323
|
}
|
326
324
|
|