now with ionic 7 I must define the “fill” inside the ion-input, because of this I can’t create an ion-item with an input and buttons inside without filling the console with alerts. Will they really remove the option of having an item with input and buttons inside in the next version?
example in Ionic 6:
<ion-item fill="outline">
<ion-label>Code:</ion-label>
<ion-input type="text"></ion-input>
<ion-buttons slot="end">
<ion-button (click)="scan()">
<ion-icon slot="icon-only" name="scan"></ion-icon>
</ion-button>
</ion-buttons>
</ion-item>
In Ionic 7:
<ion-input type="text" label="Code:" fill="outline"></ion-input>
where can i add buttons here?
please, the example in Ionic 6 is something I use a lot, specially in inputs where something must be scanned.