v2.3.0
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.