Ionic alert to add input text box and check box same alert

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();
  }

your input:[] should look like this:

      inputs:[
        {
          name:'query',
          placeholder:'Question'
        }
      ],

provide each inoput with a name