Hello world
Hello world, I need help please, prompt alert work correctly but when I add radio, it's shown like a simple radio in html
let alert = Alert.create({
title: "Alert",
inputs:
[
{
name : 'FirstName',
placeholder: "FirstName"
},
{
name: "LastName",
placeholder: "LastName"
},
{
name: "Phone",
placeholder: "Phone"
},
{
name: "E-mail",
placeholder: "E-mail"
},
{
type: "radio",
label: "male",
value:"m"
},
{
type: "radio",
label: "female",
value:"f"
},
],
buttons: [
{
text: 'Cancel',
handler: data => {
console.log('Cancel clicked');
}
},
{
text: 'Save',
handler: data => {
console.log('Saved clicked');
}
}
]
});