I am currently working with Bootstrap 4 and facing an issue with the Card Header. When I add several buttons, they align in one row, but when I add a textbox, it always breaks into a new line. Can anyone provide assistance with this? I would like to have all the controls in one line.
https://i.sstatic.net/sJOkf.png
<div class="card">
<section class="card-header">
<div class="container-fluid">
<div class="row">
<div class="col-sm-6">
<h3 class="card-title" style="inline-block">Product List</h3>
</div>
<div class="col-sm-6">
<input type="text" class="form-control form-control-sm" />
<button class="btn btn-sm btn-primary" type="button">Action 1</button>
<button class="btn btn-sm btn-success" type="button">Action 2</button>
<button class="btn btn-sm btn-primary" type="button">Action 3</button>
</div>
</div>
</div>
</section>
<section class="card-body" style="min-height: 300px;">
this is a body
</section>
</div>