I use @Html.EditoFor for a password input like this
@Html.EditorFor(model => model.Password)
I want to make it like this
<input type="password">
to be hide what I am typing with stars
Can Anyone Help me?
Instead of using EditorFor
use PasswordFor
like this:
@Html.PasswordFor(model => model.Password)