Clickable icon inside input

I have a toggle and i want to add an icon that act like my toggle

I want to add, a clickable icon inside a textfield.


<ion-input   id="text"  [ngModel]="text"  rows="1"  type="text"></ion-input>
<ion-toggle class="toggle-small" toggle-class="toggle-calm" id="toggle" (ionChange)="add(ioToggle.checked)"  #ioToggle ></ion-toggle>

is there a way to add an icon inside the input and will act like the toggle ?