Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove the -1 suffix from radio and checkbox IDs #1112

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

frankieroberto
Copy link
Contributor

This follows the convention from GOV.UK Frontend and makes it slightly easier to link from error summaries to the first item, as you’d no longer have to remember the -1 suffix.

This should probably be considered a breaking change though?

Checklist

This follows the convention from GOV.UK Frontend and makes it slightly easy to link from error summaries to the first item, as you’d no longer have to remember the `-1` suffix.
@frankieroberto
Copy link
Contributor Author

Suggested by @paulrobertlloyd in #1105.

@frankieroberto
Copy link
Contributor Author

@paulrobertlloyd
Copy link
Contributor

Thanks @frankieroberto! :shipit:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants