I want to hide a select tag and only display it when necessary.
To achieve this, I tried using the .invisible class from Bootstrap, but the issue is that even when hidden, it still takes up space.
<div class="row invisible">
<div class="form-group form-group-lg col-lg-12">
<div class="row">
<label for="for-select" class="col-lg-2 col-form-label">Items</label>
<div class="col-lg-10">
<select name="for-select" id="for-select" class="form-control">
</select>
</div>
</div>
</div>
</div>
However, the outcome appears like this: