Put in order · Vue.js course · Module 5: Events & Forms
Steps to create a form with v-model
Arrange the steps of creating a reactive Vue form from data to validation:
Items to put in order
- Add @submit.prevent handling
- Validate data before submission
- Define reactive/ref for form data
- Bind inputs to data via v-model
You can check the correct answer by solving this task in the CodeWorlds game.