From 819324f08d4aed7c7bacaf61f599e85c9ce78cfb Mon Sep 17 00:00:00 2001 From: Colin Rotherham Date: Tue, 6 Feb 2024 21:23:03 +0000 Subject: [PATCH] Add CHANGELOG entry --- CHANGELOG.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 275d211116..2f5522b7ba 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,27 @@ For advice on how to use these release notes see [our guidance on staying up to ## Unreleased +### New features + +#### Insert custom HTML into component form group wrappers + +You can now insert custom HTML into form group wrappers for all components with form fields. + +```njk +govukInput({ + formGroup: { + beforeInput: { + html: "example" + }, + afterInput: { + html: "example" + }, + } +}) +``` + +This change was introduced in [pull request #4567: Add `beforeInput(s)` and `beforeInput(s)` options to form groups](https://github.com/alphagov/govuk-frontend/pull/4567). + ## 5.1.0 (Feature release) To install this version with npm, run `npm install govuk-frontend@5.1.0`. You can also find more information about [how to stay up to date in our documentation](https://frontend.design-system.service.gov.uk/staying-up-to-date/#updating-to-the-latest-version).