У меня есть страница, которая использует Bootstrap 4 с одним элементом управления вводом, который работал нормально.Моя проблема в том, что когда я добавляю справку, она добавляет ее в той же строке, а не в следующей строке под элементом управления, как я ожидал.
Я подозреваю, что это проблема с input-group / form-group,Я нахожу в целом очень хорошую документацию Bootstrap очень неясной относительно того, как эти две вещи сочетаются друг с другом, так как я использую входные группы в качестве метки поля.
Это HTML
<div class="input-group">
<div class="input-group-prepend">
<label for="undoLocation" id="undoLocationlabel" class="input-group-text">
Find songs
</label>
</div>
<select class="custom-select" name="undoLocation" id="undoLocation" aria-describedby="undoLocationHELP">
<option value="0">
that are currently in the selected locations
</option>
<option selected="selected" value="1">
that were originally in the selected locations
</option>
</select>
<small id="undoLocationHELP" class="form-text text-muted">
When files have been moved by SongKong you can use this option to find files currently in the selected all location or find files that were originally in the selected location
</small>
</div>
, и я создалjsfiddle.https://jsfiddle.net/paultaylor/g64v96fy/1/