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
<TonConnectButton> always generates <button> without type= attribute. As such, it can't be used inside <form>, as it works as <button type="submit"> and intercepts form submits when users presses Enter.
There should be a way to generate <button type="button">. In fact, it should be the default mode, as there is never a reason for Wallet Connect button to behave as a form submit button.
The text was updated successfully, but these errors were encountered:
<TonConnectButton>
always generates<button>
withouttype=
attribute. As such, it can't be used inside<form>
, as it works as<button type="submit">
and intercepts form submits when users presses Enter.There should be a way to generate
<button type="button">
. In fact, it should be the default mode, as there is never a reason for Wallet Connect button to behave as a form submit button.The text was updated successfully, but these errors were encountered: