Question · Vue.js course · Module 5: Events & Forms
Form reset
What is the best way to reset a form in Vue?
Answer options
- Use document.forms[0].reset()
- Refresh the page
- Use v-model.reset
- Assign initial values to the reactive object
You can check the correct answer by solving this task in the CodeWorlds game.