1
Greetings to all!
I am using a theme called Remark that contains many ready elements. I am using a search box that contains a text field and a field form button.
The problem is that the button does not seem to obey and follow the field. It advances to the next field and does not respect the specification of "col-Md-3" which seems to be valid only for the field and so the button seems to be outside.
<div class="form-group row">
<div class="col-md-3">
<label asp-for="CodigoPostal" class="control-label">Código Postal</label>
<div class="input-group">
<input id="txt-pessoa-endereco-codigo-postal" type="text" class="form-control" asp-for="CodigoPostal" placeholder="Digite aqui...">
<span class="input-group-btn">
<button id="btn-pessoa-endereco-pesquisar-codigo-postal" type="button" class="btn btn-success" title="Pesquisar Código Postal"><i class="icon wb-search" aria-hidden="true"></i></button>
</span>
</div>
<span asp-validation-for="CodigoPostal" class="text-danger"></span>
</div>
<div class="col-md-9">
<label asp-for="Logradouro" class="control-label">Logradouro</label>
<input type="text" asp-for="Logradouro" id="txt-pessoa-endereco-logradouro" class="form-control text-uppercase" />
<span asp-validation-for="Logradouro" class="text-danger"></span>
</div>
</div>
Someone knows how to correct the positioning of the button to respect the correct positioning, without affecting the field next to it?
Obsessed :)
Thanks @Rodrigo Almeida Bezerra! :)
– Master JR