-1
When I use @Html.Editorfor and call css, it doesn’t come in input when I run, even if I take out new { htmlAttributes }
@Html.EditorFor(model => model.Usuario.MATRICULA, new { htmlAttributes = new { @class = "form-control bg-light border-bottom col-md-3" } })
Input when executed:
<input class="text-box single-line" data-val="true" data-val-required="O campo é obrigatório" id="Usuario_MATRICULA" name="Usuario.MATRICULA" type="text" value="">
Do any of the answers solve your problem? Need some more details?
– Jéf Bueno