MOBILE-3947 compile: Fix plugins reloading the app when submitting form
parent
0541415a5a
commit
7b1cc71210
|
@ -138,6 +138,10 @@ export class CoreCompileHtmlComponent implements OnChanges, OnDestroy, DoCheck {
|
||||||
this.container,
|
this.container,
|
||||||
this.extraImports,
|
this.extraImports,
|
||||||
);
|
);
|
||||||
|
|
||||||
|
this.element.addEventListener('submit', (event) => {
|
||||||
|
event.preventDefault();
|
||||||
|
});
|
||||||
}
|
}
|
||||||
this.componentRef && this.created.emit(this.componentRef.instance);
|
this.componentRef && this.created.emit(this.componentRef.instance);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue