I am looking for a way to incorporate a Bootstrap4 input group label between two input fields. While there are "prepend" and "append" styles available, in this scenario, I require a "center" style which seems to be missing. Does anyone have a solution for this?
https://i.sstatic.net/aLeVO.png
The requirement dictates that the corners of the element should not be rounded. It is crucial that we find a solution using only pre-defined bs4 classes and styles, without any local style="..." elements. Any ideas on how to achieve this? Thank you!
<div class="form-group col-6">
<div class="input-group">
<div class="input-group-prepend">
<span class="input-group-text">Date interval:</span>
</div>
<input type="text" class="form-control" name="dateFrom" placeholder="YYYY-MM-DD" value="2020-05-19">
<span class="input-group-text">-</span>
<input type="text" class="form-control" name="dateTo" placeholder="YYYY-MM-DD" value="2020-06-19">
</div>
</div>