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

Buttton has type #16

Open
Bijit-Mondal opened this issue Jul 31, 2024 · 3 comments
Open

Buttton has type #16

Bijit-Mondal opened this issue Jul 31, 2024 · 3 comments

Comments

@Bijit-Mondal
Copy link

for styling we have button type and thus for that button type submit doesn't work.

<form @submit.prevent="registration">
</form>

How to have a button for submit

@lk77
Copy link
Owner

lk77 commented Aug 8, 2024

Well you can use a vs-button

@Bijit-Mondal
Copy link
Author

The concern is if I use normal button I can use but using vs-button type="submit" isn't allowed

@lk77
Copy link
Owner

lk77 commented Aug 12, 2024

You can use type="submit" on a vs-button :

<vs-button type="submit"/>

it will be binded to the underlying element

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

2 participants