You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug A clear and concise description of what the bug is.
I am using Vite / Vue and I am trying to preventDefault in google-pay-button's onClick. But I've tried a low of different ways and it seems to have some bug.
Describe the bug A clear and concise description of what the bug is.
I am using Vite / Vue and I am trying to preventDefault in google-pay-button's onClick. But I've tried a low of different ways and it seems to have some bug.
To Reproduce Steps to reproduce the behavior:
Expected behavior It should prevent the payment sheet.
Screenshots NA
Component information:
@google-pay/button-element
)Component version (e.g. 3.1.0):
Environment:
Please don't hesitate to ask me any further questions. Looks like this line has some issues.
const request = this.createLoadPaymentDataRequest(config); try { if (config.onClick) { config.onClick(event); } if (event.defaultPrevented) { return; }
The text was updated successfully, but these errors were encountered: