ionic - Adding a button inside a input field
<p>I'm trying to add a button inside an <code>&lt;ion-input&gt;</code> but wherever I add it inside the <code>&lt;ion-list&gt;</code> the button does not show on the screen. </p>

<p>What I'm trying to do is to show a button "Forgot" on top of the password field aligned to the right. Refer screen:</p>

<p><a href="https://i.stack.imgur.com/VJF2h.png" rel="noreferrer"><img src="https://i.stack.imgur.com/VJF2h.png" alt="enter image description here"></a></p>

<p>This is my HTML,</p>

<pre><code>&lt;ion-content&gt;
  &lt;ion-list class="au-form" inset padding&gt;
        &lt;ion-item&gt;
            &lt;ion-input type="text" placeholder="Username"&gt;&lt;/ion-input&gt;
        &lt;/ion-item&gt;
        &lt;ion-item&gt;
            &lt;ion-input type="password" placeholder="Password"&gt;&lt;/ion-input&gt;
            &lt;button clear&gt;Forgot&lt;/button&gt;
        &lt;/ion-item&gt;
   &lt;/ion-list&gt;
&lt;/ion-content&gt;
</code></pre>

<p>How do I achieve this layout in Ionic 2?</p>