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

Override button type #57

Open
IlyaSemenov opened this issue Apr 1, 2024 · 2 comments
Open

Override button type #57

IlyaSemenov opened this issue Apr 1, 2024 · 2 comments

Comments

@IlyaSemenov
Copy link

Currently, <wallet-multi-button /> generates HTML <button> tag without any type. When used inside <form> this makes the button to be the submit button, and when user presses Enter in any text input it opens the wallet select popup.

<wallet-multi-button /> should accept type="button" property and pass it to the underlying <button>. Perhaps it should simply pass all unknown props with <button v-bind="$attrs">.

@sanskar-mk2
Copy link

+1 to this. Ran into same problem.

@mnlght03
Copy link

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants