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

Adding optional id attribute to button component #3344

Merged

Conversation

TomBillingtonUK
Copy link
Contributor

Hi,

Not being able to have IDs on buttons has caught me out a couple of times recently, and it seems to be catching other people out as well based on this issue - #2999

This PR adds an optional id attribute to the button nunjucks macro

Happy to address any feedback and comments

@colinrotherham colinrotherham added the awaiting triage Needs triaging by team label Feb 28, 2023
@querkmachine querkmachine linked an issue Feb 28, 2023 that may be closed by this pull request
@querkmachine querkmachine added feature request User requests a new feature button nunjucks and removed awaiting triage Needs triaging by team labels Feb 28, 2023
@querkmachine
Copy link
Member

Thanks for contributing this! It looks good to me, just needs a changelog entry added if you can.

If you aren't sure or don't feel comfortable writing one, just say so and someone on the team can handle it.

@TomBillingtonUK
Copy link
Contributor Author

TomBillingtonUK commented Mar 2, 2023

Thanks for contributing this! It looks good to me, just needs a changelog entry added if you can.

If you aren't sure or don't feel comfortable writing one, just say so and someone on the team can handle it.

Changelog entry added

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
button feature request User requests a new feature nunjucks
Projects
Development

Successfully merging this pull request may close these issues.

Suggestion: add support for passing id to button macro
4 participants