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

Button tags should not use default link behaviour #368

Merged
merged 1 commit into from
Dec 12, 2023

Conversation

mikemartin
Copy link
Contributor

Fixes issue where {{ partial:components/button as="button" label="My button" }} would inherit the default href attribute.

Changes proposed in this pull request:

  • Add condition to avoid default 'href' attribute for button tags.

Fixes issue where `{{ partial:components/button as="button"  label="My button" }}` would inherit the default `href` attribute.
@robdekort
Copy link
Contributor

Looks good. Thanks Mike. We should probably move this to the tools addon so it can easily be updated. 🤔

@robdekort robdekort merged commit 06d369d into studio1902:main Dec 12, 2023
1 check passed
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.

None yet

2 participants