I am trying to add a button inside <ion-input>
, but wherever I add it inside <ion-list>
, the button does not appear on the screen.
What I'm trying to do is show the Forget button over the password field aligned to the right. See Screen:

This is my HTML,
<ion-content> <ion-list class="au-form" inset padding> <ion-item> <ion-input type="text" placeholder="Username"></ion-input> </ion-item> <ion-item> <ion-input type="password" placeholder="Password"></ion-input> <button clear>Forgot</button> </ion-item> </ion-list> </ion-content>
How to achieve this layout in Ionic 2?
source share