My form group includes both a label and an input field
<div class="col-md-12 form-group">
<label class="col-sm-2 col-form-label" for="name">Name</label>
<input type="text" class="form-control" name="name" id="name" [(ngModel)]="person.name" disabled/>
</div>
However, the label is displaying above the input field when I need it to be beside it. I am using Bootstrap 4.0.
I have already tried using the class "col-sm-2 col-form-label" but it did not work. Any suggestions?