Merge pull request #3923 from dpalou/MOBILE-3947

Mobile 3947
main
Pau Ferrer Ocaña 2024-02-06 13:20:07 +01:00 committed by GitHub
commit bb9bb3ddbf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 12 deletions

View File

@ -138,6 +138,10 @@ export class CoreCompileHtmlComponent implements OnChanges, OnDestroy, DoCheck {
this.container,
this.extraImports,
);
this.element.addEventListener('submit', (event) => {
event.preventDefault();
});
}
this.componentRef && this.created.emit(this.componentRef.instance);

View File

@ -1989,15 +1989,3 @@ ion-item.item-label-stacked ion-datetime-button {
margin-bottom: 8px;
align-self: self-end;
}
// Development styles. Most of them temporary.
html.development {
ion-checkbox.legacy-checkbox,
ion-radio.legacy-radio,
ion-select.legacy-select,
ion-toggle.legacy-toggle,
ion-textarea.legacy-textarea,
ion-input.legacy-input {
background: red !important;
}
}