I am adding a form in Blazor and I am following instructions as specified here
https://docs.microsoft.com/en-us/aspnet/core/blazor/forms-validation?view=aspnetcore-3.0
Is it possible to add an input with mask for passwords.
I tried adding doing something like
public class LoginModel
{
[Required]
public string Username { get; set; }
[Required]
[DataType(DataType.Password)]
public string Password { get; set; }
}
but that didnt work. Is there a way to hide password when inserted in input?