Show password input (experimental) example
With error items
How it looks (preview)
How to call this example
<%= render "govuk_publishing_components/components/show_password", {
label: {
text: "Please enter your password"
},
value: "this is my password",
error_items: [
{
text: "Look I keep telling you"
},
{
text: "This isn't your password"
}
]
} %>