title: Get value from input in Ionic 4 alert
body: <p>As of today the Ionic 4 documentation on <a href="https://ionicframework.com/docs/api/alert" rel="noreferrer">ion-alert</a> contains an example how to add a text input to an alert, like this:</p>
  
  <pre><code>const alert = await this.alertController.create({
    inputs: [
      {
        name: 'name1',
        type: 'text'
      },
  </code></pre>
  
  <p>But I can not find out how to access the value from the <code>name1</code> text input, for example in the button handlers.</p>
  
  <p>Do I have to use something like <code>document.getElementById</code> or is there a more Ionic/Angular-style way?</p>