ionic input require code example
Example 1: input ionic
<ion-input></ion-input>
<ion-input value="custom"></ion-input>
<ion-input placeholder="Enter Input"></ion-input>
<ion-input clearInput value="clear me"></ion-input>
<ion-input type="number" value="333"></ion-input>
<ion-input value="Disabled" disabled></ion-input>
<ion-input value="Readonly" readonly></ion-input>
<ion-item>
<ion-label>Default Label</ion-label>
<ion-input></ion-input>
</ion-item>
<ion-item>
<ion-label position="floating">Floating Label</ion-label>
<ion-input></ion-input>
</ion-item>
<ion-item>
<ion-label position="fixed">Fixed Label</ion-label>
<ion-input></ion-input>
</ion-item>
<ion-item>
<ion-label position="stacked">Stacked Label</ion-label>
<ion-input></ion-input>
</ion-item>
Example 2: ionic disable input field
<ion-item class="order__status-comments">
<ion-label floating>Observação</ion-label>
<ion-input formControlName="comments" [readonly]="status_loading" type="text"></ion-input>
</ion-item>