@stewchicken wrote:
below code works perfect, but i need add another radio input for delivery (standard delievery, express delievery), how to add this radio input into the alert?
any hints will be more than welcome!
advanceSearch(): void{
let prompt = this.alertCtrl.create({
title: 'payment',
message: 'choose payment ',
inputs : [
{
type:'radio',
label:'paypal'
value:'paypal'
},
{
type:'radio',
label:'bank transfer'
value:'bank transfer'
}],
buttons : [
{
text: "Cancel",
handler: data => {
console.log("cancel clicked");
}
},
{
text: "Buy",
handler: data => {
console.log("Buy clicked");
}
}
]
});
prompt.present();
}
Posts: 1
Participants: 1