SamProf / MatBlazor

Material Design components for Blazor and Razor Components
http://www.matblazor.com
MIT License
2.84k stars 386 forks source link

New component: Password #183

Closed TeguSolutions closed 5 years ago

TeguSolutions commented 5 years ago

Do you plan to create an input type="password" specific component? Similar like the TextField just with masked characters.

enkodellc commented 5 years ago

@Satukan Here is how you can accomplish the password - Type="password" attribute:

<MatTextField @bind-value="@loginParameters.Password" Label="Password" Icon="lock_outline" IconTrailing="true" FullWidth="true" Required="true" Type="password"></MatTextField>

You can see a real example here: https://blazorboilerplate.com/account/login

My repo is here: https://github.com/enkodellc/blazorboilerplate

enkodellc commented 5 years ago

@Satukan if that solved your issue please close this! Thanks for using MatBlazor!