-
Notifications
You must be signed in to change notification settings - Fork 6
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
fix(vwc-button): multiple click events generated on button #1101
Conversation
🚀 Latest successful build of the PR deployed here. 🚀 |
The way to solve this would be to create a test that shows the error (e.g. shows we get more than one click) and then create a solution that makes this test pass. |
fedea26
to
9fc2a8e
Compare
402b525
to
0334990
Compare
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
Expected behavior
When clicking a "submit" vwc-button, it should generate exactly one "click" event
Current behavior
When clicking a "submit" vwc-button, at-least two events are being fired:
Click (button) -> Submit (form) -> Click (button)
VIV-752