@bharathvaj95
Front end engineer
<form @submit.prevent="submitForm">
<input type="text" v-model="username">
<input type="submit" value="Submit">
</form>
new Vue({
el:'#app',
data:{
username:null
},
methods:{
submitForm:function(e) {
...
}
}
})
This Code Pen yields
This Code Pen yields
This bin yields
<field />
<form />
<field-wrapper />
<Form/>
<signup-form />
signup_form
Form Store
<text-field-form />
<text-field />
<text-field-form/>
<text-field/>
Creates signup_form form along with validators in the store
Creates user_name text field inside signup_form
Nothing fancy. Just renders the UI
signup_form
Form Store
<text-field-form />
<text-field />
<text-field-form/>
<text-field/>
value: "Bruce Wayne"
<Form/>
<signup-form />
signup_form
Form Store
<text-field-form />
<text-field-form/>
Deletes signup_form form from the store
Deletes user_name text field from signup_form
<text-field />