From 24368717ff9eb4f8f48d5ca5ed0396991ee63535 Mon Sep 17 00:00:00 2001 From: tim-s-ccs Date: Fri, 19 Apr 2024 12:40:42 +0100 Subject: [PATCH] Remove duplicate `errorMessage` argument for the password input component --- .../src/govuk/components/password-input/template.njk | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/govuk-frontend/src/govuk/components/password-input/template.njk b/packages/govuk-frontend/src/govuk/components/password-input/template.njk index f5b2298550..673a3723d2 100644 --- a/packages/govuk-frontend/src/govuk/components/password-input/template.njk +++ b/packages/govuk-frontend/src/govuk/components/password-input/template.njk @@ -76,7 +76,6 @@ }, label: params.label, hint: params.hint, - errorMessage: params.errorMessage, classes: "govuk-password-input__input govuk-js-password-input-input" + (" " + params.classes if params.classes), errorMessage: params.errorMessage, id: params.id,