I am posting in the forums for the second time about the weird issue I am facing with Ionic select components (All of them). Here is the picture below to show what I mean. It is appearing horizontally and not vertically which looks ugly.
Below is the code I am using.
let alert = this.alertCtrl.create();
alert.setTitle('Choose Job');
alert.addInput({
type: 'radio',
label: 'Find a mechanic',
value: 'job1',
checked: true
});
alert.addInput({
type: 'radio',
label: 'Find a mechanic',
value: 'job1',
checked: false
});
alert.addButton({
text: 'Cancel',
handler: data => {
console.log('Cancel was pressend');
}
});
alert.addButton({
text: 'OK',
handler: data => {
console.log('Invite was pressed');
}
});
alert.present();
}