I’m try to add input text fild and check box in my alert but I cant do it correctly please help me to fix it,
This is my code
doPrompts() {
let prompt = this.alertCtrl.create({
title: 'Add new add-on',
message: "",
inputs: [
{
placeholder: 'Select category',
},
{
placeholder: 'Description',
},
{
placeholder: 'Units',
},
{
placeholder: '$ 00.00',
}
],
buttons: [
{
text: 'Cancel',
handler: data => {
console.log('Cancel clicked');
}
},
{
text: 'Add',
handler: data => {
console.log('Saved clicked');
}
}
]
});
prompt.present();
}