@quadrel-enterprise-ui/framework 20.10.0-beta.140.1 → 20.10.1
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.
|
@@ -11402,7 +11402,7 @@ class QdDatepickerComponent {
|
|
|
11402
11402
|
_onChange = () => { };
|
|
11403
11403
|
_onTouched = () => { };
|
|
11404
11404
|
ngOnInit() {
|
|
11405
|
-
this.language
|
|
11405
|
+
this.language = this.translateService?.currentLang ?? DEFAULT_LANGUAGE;
|
|
11406
11406
|
this.subscribeToLanguageChange();
|
|
11407
11407
|
this.subscribeToActionEmitterEvents();
|
|
11408
11408
|
this.initControl();
|
|
@@ -27075,7 +27075,12 @@ class QdPageCommitActionExecutor {
|
|
|
27075
27075
|
const applySuccess = () => {
|
|
27076
27076
|
formGroupManager.setFormGroupsSnapshot(captured);
|
|
27077
27077
|
navigationInterceptor.executeWithBypass(() => {
|
|
27078
|
-
|
|
27078
|
+
try {
|
|
27079
|
+
onAfterSnapshot?.();
|
|
27080
|
+
}
|
|
27081
|
+
catch (err) {
|
|
27082
|
+
console.error('QD-UI | QdPage - internal onAfterSnapshot hook threw after form was marked as saved.', err);
|
|
27083
|
+
}
|
|
27079
27084
|
try {
|
|
27080
27085
|
action.onSuccess?.();
|
|
27081
27086
|
}
|