Skip to content

Add proc support to govuk_error_summary#619

Open
m-dango wants to merge 1 commit intox-govuk:mainfrom
heritagefund:error-summary-proc
Open

Add proc support to govuk_error_summary#619
m-dango wants to merge 1 commit intox-govuk:mainfrom
heritagefund:error-summary-proc

Conversation

@m-dango
Copy link
Copy Markdown

@m-dango m-dango commented Apr 7, 2026

While using the form builder, we found that we were unable to translate the default error summary heading in the same way we had done for the submit button e.g. -> { I18n.t('translation') }.

This change allows the error summary to call procs in the same way the submit element does.

Additionally, it adds a test case for proc support on the submit button.

@netlify
Copy link
Copy Markdown

netlify bot commented Apr 7, 2026

Deploy Preview for govuk-form-builder ready!

Name Link
🔨 Latest commit bcc7ec1
🔍 Latest deploy log https://app.netlify.com/projects/govuk-form-builder/deploys/69d4e13527b9100008ba8c56
😎 Deploy Preview https://deploy-preview-619--govuk-form-builder.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@m-dango m-dango force-pushed the error-summary-proc branch from 2104ddf to bcc7ec1 Compare April 7, 2026 10:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant