I have an input field where I bring the value of the bank, which I use this way:
<input asp-for="TICMS" name="TICMS" onKeyPress="return(MascaraMoeda(this,'.',',',event))" class="form-control" />
However, the following doubt has arisen: This field is not changed by the user, it is only changed by means of accounts via javascript
so there is no need to appear as a textbox
, however I need it to be saved in bank, as there may be changes, what would be the best way for it to appear?
I've tried something like:
@Html.Raw(model.TICMS);
But he does not save in the bank if he is this way. What's the best way out?
EDIT
If I draw the borders via css, and I put readonly
the field looks like this: