Hi on a Modal i created i get this error and the Ok button ist not working anymore:
this is my code:
showAlert(title, message) {
let alert = this.alertCtrl.create({
title: title,
message: message,
buttons: [
{
text: 'OK'
}
]
});
alert.present();
}