O
O
OWIII2019-09-12 12:19:28
JavaScript
OWIII, 2019-09-12 12:19:28

Why does a block disappear in Vuejs?

When you click on the "add" button, it adds and abruptly removes the required field. This is visually visible.
Where did I go wrong?
Project link

Answer the question

In order to leave comments, you need to log in

1 answer(s)
0
0xD34F, 2019-09-12
@OWIII

The form is submitted and the page is reloaded. Add a form @submit.prevent. Or handle button clicks differently: @click.prevent="addGuest".

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question