Skip to content

v2.3.0

Compare
Choose a tag to compare
@gunndabad gunndabad released this 05 Jan 12:32
· 16 commits to main since this release

Targets GOV.UK Frontend v5.3.1 and .NET 8.

New features

DateInputAttribute

This attribute can be added to properties that are model bound from date input components. It allows overriding the prefix used for error messages e.g.

[DateInput(ErrorMessagePrefix = "Your date of birth")]
public DateOnly? DateOfBirth { get; set; }

Tag helper changes

<govuk-input> tag helper

An autocapitalize attribute has been added.
Attributes can be set on the input wrapper element by specifying input-wrapper-* attributes.

Fixes

Page template

Fix duplicate PathBase in OpengraphImageUrl in page template view.