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

🐛 add type='button' to fix premature submissions #215 #216

Merged
merged 1 commit into from
Feb 27, 2024

Conversation

thinkjrs
Copy link
Member

@thinkjrs thinkjrs commented Feb 27, 2024

Users were experiencing the advanced button submitting their promo campaigns. This merge should fix that. We were missing the type="button" attribute which I believe the form was automatically marking as type="submit", very reasonable behavior.


@thinkjrs thinkjrs added the bug Something isn't working label Feb 27, 2024
@thinkjrs thinkjrs self-assigned this Feb 27, 2024
Copy link

size-limit report 📦

Path Size
dist/promo-button.cjs.production.min.js 49.56 KB (+0.01% 🔺)
dist/promo-button.esm.js 52.3 KB (+0.01% 🔺)

@thinkjrs thinkjrs merged commit ef7b453 into develop Feb 27, 2024
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant