Input-group-text formatting breaks in input | ASP . NET CORE MVC

Asked

Viewed 8 times

0

I am trying to make the following image on my form: resultado esperado

but in my form it gets broken:

inserir a descrição da imagem aqui

I’ve tried several things but never certain, follow the code in my view:

<div class="col-md-2 form-group">  
   <label asp-for="LimiteDeCredito" class="control-label"></label>
   <span class="input-group-text">R$</span>
   <input asp-for="LimiteDeCredito" type="text" class="form-control">
   <span class="input-group-text">,00</span>
   <span asp-validation-for="LimiteDeCredito" class="text-danger"></span>
</div>
No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.