Put in order · Vue.js course · Module 5: Events & Forms
Reactive form structure
Arrange the steps for creating a reactive form in Vue:
Items to put in order
- Define reactive/ref with form data
- Create computed isFormValid
- Add @submit.prevent with a handler
- Connect v-model to input fields
- Add validation on @blur
You can check the correct answer by solving this task in the CodeWorlds game.