Releases: gunndabad/govuk-frontend-aspnetcore
Releases · gunndabad/govuk-frontend-aspnetcore
v2.7.1
v2.7.0
v2.6.0
v2.5.0
v2.4.0
v2.3.1
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.
v2.2.0
v2.1.0
v2.0.1
Targets GOV.UK Frontend v5.1.0.
New features
Page template
New overloads of GenerateScriptImports
and GenerateStyleImports
have been added that accept an appendVersion
parameter.
This appends a query string with a hash of the file's contents so that content changes following upgrades are seen by end users.