Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Button with v-if triggers event on v-else button when clicked using form #9866
Steps to reproduce
Click the button
What is expected?
Clicking the button should swap out "button" button with a "submit" button.
What is actually happening?
The form submit is triggered when "button" is pressed.
Suspect it is a focus issue.