PasswordInput
PasswordInput used to enter a password in a textbox.
Password input with show/hide button
PasswordInput with a toggleable visibility button, allowing users to easily show or hide their entered characters.
PasswordInput/Index.cshtml
@model AweCoreDemo.ViewModels.Input.TextBoxDemoInput
@{
ViewData["Title"] = "PasswordInput";
var desc = "PasswordInput used to enter a password in a textbox.";
ViewData["Desc"] = desc;
}
<div class="expl" description>
@desc
<br />
</div>
<br />
<br />
<div class="example">
<h2>Password input with show/hide button</h2>
@(Html.Awe().PasswordInput(new PasswordInputOpt { Name = "txtPassword1", ClearBtn = true }))
</div>
<div data-awe-tabs>
<div data-caption="description" class="expl">
PasswordInput with a toggleable visibility button, allowing users to easily show or hide their entered characters.
</div>
<div data-caption="view">
@Html.SourceForView("PasswordInput/Index.cshtml")
</div>
</div>
Comments