@bolttech/form-engine-core 0.0.3-beta.2 → 0.0.3-beta.3
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/index.esm.js +2 -2
- package/package.json +1 -1
package/index.esm.js
CHANGED
|
@@ -3040,7 +3040,7 @@ class FormField {
|
|
|
3040
3040
|
this.errorSubject$.unsubscribe();
|
|
3041
3041
|
this.apiSubject$.unsubscribe();
|
|
3042
3042
|
this.apiEventQueueSubject$.unsubscribe();
|
|
3043
|
-
this.formValidNotification$.next({
|
|
3043
|
+
!this.formValidNotification$.closed && this.formValidNotification$.next({
|
|
3044
3044
|
fieldTrigger: this.name
|
|
3045
3045
|
});
|
|
3046
3046
|
}
|
|
@@ -3963,12 +3963,12 @@ class FormCore {
|
|
|
3963
3963
|
this.submitSubject$.next(values);
|
|
3964
3964
|
}
|
|
3965
3965
|
destroy() {
|
|
3966
|
-
this.fields.forEach(field => field.destroyField());
|
|
3967
3966
|
this.submitSubject$.unsubscribe();
|
|
3968
3967
|
this.templateSubscription$.unsubscribe();
|
|
3969
3968
|
this.fieldEventSubject$.unsubscribe();
|
|
3970
3969
|
this.dataSubject$.unsubscribe();
|
|
3971
3970
|
this.formValidNotification$.unsubscribe();
|
|
3971
|
+
this.fields.forEach(field => field.destroyField());
|
|
3972
3972
|
}
|
|
3973
3973
|
}
|
|
3974
3974
|
/**
|