1
I have a field on my system that needs to inform if the product is available or not, SQL is as bit( TRUE or FALSE).
Entityframework generated a View with a SELECT True or False.
<div class="form-group">
@Html.LabelFor(model => model.Alugada, htmlAttributes: new { @class = "control-label col-md-2" })
<div class="col-md-10">
<div class="checkbox">
@Html.EditorFor(model => model.Alugada)
@Html.ValidationMessageFor(model => model.ativa, "", new { @class = "text-danger" })
</div>
</div>
</div>
How I customize the True and False fields?
Would you have access to creating this form on the front? If you have you can check the select option, I will post a reply with my example, but the form is generated by me, I do not know if it is possible
– DbaAlone