<div formGroupName="xxxx" class="form-row">
<div class="form-group col-md-3">
<mat-form-field class="row-styling">
<mat-label> Mobile Number </mat-label>
<input
matInput
phoneNumberOnly
[value]="f.xxx['controls'].cellPhone.value | phone"
(blur)="validatePhone($event.target)"
maxlength="12"
formControlName="cellPhone"
name="yyy"
/>
</mat-form-field>
</div>
<div></div>
</div>
I attempted to add a width of 200px in the platform field but it did not have any effect. Check out the image here.