@firestitch/form 12.4.19 → 12.4.20
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.
|
@@ -721,9 +721,12 @@
|
|
|
721
721
|
}
|
|
722
722
|
};
|
|
723
723
|
FsFormDirective.prototype.registerSubmit = function (fn) {
|
|
724
|
+
var _this = this;
|
|
724
725
|
this.submit = fn;
|
|
725
|
-
|
|
726
|
-
|
|
726
|
+
setTimeout(function () {
|
|
727
|
+
_this.submitRegistered.emit();
|
|
728
|
+
_this._cdRef.markForCheck();
|
|
729
|
+
});
|
|
727
730
|
};
|
|
728
731
|
FsFormDirective.prototype.ngAfterContentInit = function () {
|
|
729
732
|
this._registerConfirm();
|