Ionic alert label not display


#1

Ionic alert label not display

doPrompt() {
    let prompt = this.alertCtrl.create({
      title: '5 Rooms Available',
      message: "",

      inputs: [
        {   name: "Double Rooms (2)",
          label: "Single Rooms (3)",


          type:'text'

        },
        {
          label: "Single Rooms (3)",
          name: 'Single Rooms (3)',
          placeholder: '$200.00',


        },
        {
          label: 'King’s Room (0)',
          name: 'King’s Room (0)',
          placeholder: '$450.00',


        },
        {
          label: 'Queen’s Room (0)',
          name: 'Queen’s Room (0)',
          placeholder: '$450.00',


        }
      ],

      buttons: [
        {
          text: 'Cancel',
          handler: data => {
            console.log('Cancel clicked');
          }
        },
        {
          text: 'Set',
          handler: data => {
            console.log('Saved clicked');
          }
        }
      ]
    });
    prompt.present();
  }