In Bootstrap 4, I have created this form group that you can view in this fiddle:
<div class="m-portlet__body">
<div class="form-group m-form__group row">
<label class="col-lg-2 col-form-label">
Email Address
</label>
<div class="col-lg-3">
<input type="text" name="name" class="form-control m-input" [(ngModel)]="model.name" #name="ngModel" placeholder="Enter full name">
</div>
<label class="col-lg-2 col-form-label">
First Name
</label>
<div class="col-lg-3">
<input type="text" name="firstName" class="form-control m-input" [(ngModel)]="model.firstName" #firstName="ngModel" placeholder="Enter first name">
</div>
<label class="col-lg-2 col-form-label">
Last Name
</label>
<div class="col-lg-3">
<input type="text" name="lastName" class="form-control m-input" [(ngModel)]="model.lastName" #lastName="ngModel" placeholder="Enter last name">
</div>
<label class="col-lg-2 col-form-label">
Profile
</label>
<div class="col-lg-3">
<input type="text" name="profile" class="form-control m-input" [(ngModel)]="model.profile" #profile="ngModel" placeholder="Enter profile">
</div>
</div>
</div>
I am aiming for a design similar to this one: https://i.sstatic.net/26Kpz.png
However, it seems like my row group is not responsive as shown in the fiddle here: https://i.sstatic.net/cSEw5.png
Can anyone point out what I might be doing wrong? Thank you!