0👍
✅
seems like clicking on the button is triggering the form submission.
try making the click event listener into @click.prevent="..."
. This will have the effect of event.preventDefault()
on the click event, thus preventing form submission.
Source:stackexchange.com