title: Ionic: Showing an alert controller with a checkbox and text input
body: <p>I am trying to show a checkbox along with a text input field. (Ionic 3.5.3)</p>
  
  <p>The checkbox is not showing up. I looked at <a href="https://stackoverflow.com/questions/38569163/ionic2-how-to-put-a-checkbox-input-inside-an-alert-prompt">another SO thread</a> for a similar question. The code seems to be the same as what I am doing.</p>
  
  <p>The code:</p>
  
  <pre><code>let alert = this.alert.create({
        title: 'Name your trip',
        inputs: [
        {
          name: 'name',
          placeholder: 'Your trip name',
        },
        {
           name: 'gpsxy',
           type:'checkbox',
           checked:true,
           label:'Log GPS co-ords',
           value:"true"
        }
      ],
  
        buttons: [{
          text: 'Cancel',
          role: 'cancel',
          handler: data =&gt; {
          }
        },
        {
          text: 'Ok',
          handler: data =&gt; {
        }],
      });
      alert.present();
  </code></pre>
  
  <p>And here is the screenshot:<a href="https://i.stack.imgur.com/d7Itw.png" rel="noreferrer"><img src="https://i.stack.imgur.com/d7Itw.png" alt="enter image description here"></a></p>