From the image provided, it's evident that my HTML code looks like this:
<ion-row>
<ion-col>
<ion-item>
<searchable-ion-select isModal="true" name="country" valueField="code" [(ngModel)]="country" title="Country"
(onChange)="countrySelected()" textField="name" [items]="countries">
</searchable-ion-select>
</ion-item>
</ion-col>
<ion-col>
<ion-item>
<ion-label class="item-name" stacked>Phone number*</ion-label>
<ion-input [(ngModel)]="phone" (ngModelChange)="onFieldChanged()" type="text" required name="phoneNumber"></ion-input>
</ion-item>
<ion-row *ngIf="!isPhoneFormat && false">
Invalid format!
</ion-row>
</ion-col>
<ion-row *ngIf="!isNameFormat && false">
Invalid format for first name or last name
</ion-row>
</ion-row>
The above section contains details about first name and last name.
<ion-row>
<ion-col>
<ion-item>
<ion-label class="item-name" stacked>First name*</ion-label>
<ion-input [(ngModel)]="firstName" (ngModelChange)="onFieldChanged()" type="text" required name="firstName"></ion-input>
</ion-item>
</ion-col>
<ion-col>
<ion-item>
<ion-label class="item-name" stacked>Last name*</ion-label>
<ion-input [(ngModel)]="lastName" (ngModelChange)="onFieldChanged()" type="text" required name="lastName"></ion-input>
</ion-item>
</ion-col>
<ion-row *ngIf="!isNameFormat && false">
Invalid format for first name or last name
</ion-row>
</ion-row>
I'm trying to figure out how to align searchable-ion-select with ion-label and its ion-input. Any suggestions?