interledger / web-monetization-extension

An open-source browser extension that enables Web Monetization.
Apache License 2.0
72 stars 5 forks source link

fix(popup/ConnectWalletForm): fix paste after field is emptied #669

Closed sidvishnoi closed 1 month ago

sidvishnoi commented 1 month ago

Context

If we emptied the input, and then pasted something (for example, cut and paste), we weren't setting the input value (with ev.preventDefault). This was looking as if we pasted empty string in input (leading to "wallet address is required" error).

Changes proposed in this pull request

github-actions[bot] commented 1 month ago

Extension builds preview

Name Link
Latest commit a52915a827a6f729ba2537bb4faafa43073ca0c4
Latest job logs Run #11344356269
BadgeDownload
BadgeDownload