Responsive
Atoms
FormLabel
Default
Molecules
ContactDetails
Default
Organisms
HeaderMinimal
Default
ServicesGroupFinderBlock
With Results No Results

PasswordInput / With Custom Toggle ID

A password input with an explicit toggle ID (e.g. for confirm password fields)

Layout
Properties
Component Code
@await Html.PartialAsync("~/Components/Molecules/PasswordInput/PasswordInput.cshtml", new PasswordInputProps
{
"Id": "ConfirmPassword",
"Name": "ConfirmPassword",
"Label": "Confirm Password",
"HelpText": "",
"ShowHelpText": false,
"Placeholder": "Please confirm the password",
"Value": "",
"Required": true,
"HasError": false,
"Size": "large",
"DataUmb": "",
"DataVal": false,
"DataValRequired": "",
"DataValRegex": "",
"DataValRegexPattern": "",
"DataValConfirmPassword": "",
"DataValConfirmPasswordValue": "",
"Spellcheck": "",
"ShowToggle": true,
"ToggleId": "show-confirm-password"
})
♿ Accessibility