tuain-ng-forms-lib 14.5.29 → 14.5.30
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/esm2020/lib/components/elements/action.component.mjs +4 -1
- package/esm2020/lib/components/forms/basic-form.mjs +2 -2
- package/fesm2015/tuain-ng-forms-lib.mjs +5 -1
- package/fesm2015/tuain-ng-forms-lib.mjs.map +1 -1
- package/fesm2020/tuain-ng-forms-lib.mjs +4 -1
- package/fesm2020/tuain-ng-forms-lib.mjs.map +1 -1
- package/lib/components/elements/action.component.d.ts +1 -0
- package/lib/components/forms/basic-form.d.ts +1 -1
- package/package.json +1 -1
|
@@ -90,6 +90,9 @@ class ActionComponent extends ElementComponent {
|
|
|
90
90
|
});
|
|
91
91
|
this.start();
|
|
92
92
|
}
|
|
93
|
+
start() {
|
|
94
|
+
this.setForm(this.action?._form);
|
|
95
|
+
}
|
|
93
96
|
activate() {
|
|
94
97
|
if (this.action?.notifyActivation) {
|
|
95
98
|
this.action.notifyActivation();
|
|
@@ -2965,7 +2968,7 @@ class BasicFormComponent {
|
|
|
2965
2968
|
}
|
|
2966
2969
|
canGoBack() { return this._originToken !== null; }
|
|
2967
2970
|
goBack() { return this.formManagerService.backTo(); }
|
|
2968
|
-
goBackForm(
|
|
2971
|
+
goBackForm() { return this.goBack(); }
|
|
2969
2972
|
getOriginDetail() { return this.formManagerService?.getFormInfo(this._originToken ?? ''); }
|
|
2970
2973
|
setError(errorType, errorMessage, errorDetail) {
|
|
2971
2974
|
this._errorType = errorType || '';
|