Showing ion-spinner as an icon in form


#1

I’d like to be able to show an ion-spinner on the right of an input like an icon but it breaks a line and shows up below :

Here’s the code :

<div class="item item-input item-stacked-label item-icon-right">
    <span class="input-label" translate>PROJECT.DETAIL.MODAL.BOOK.TITLE_LABEL</span>
    <input type="text" placeholder="{{ 'PROJECT.DETAIL.MODAL.BOOK.TITLE_PLACEHOLDER' | translate }}" ng-model="newsource.title" ng-model-options="{ updateOn: 'default blur', debounce: { 'default': 1500, 'blur': 0}}">
    <ion-spinner ng-if="loadingSuggestions" icon="ios-small"></ion-spinner>
</div>