vue on input code example
Example 1: vue form
<input v-model="message" placeholder="edit me">
<p>Message is: {{ message }}</p>
Example 2: input in vuejs
<select v-model="selected">
<option disabled value="">Please select one</option>
<option>A</option>
<option>B</option>
<option>C</option>
</select>
<span>Selected: {{ selected }}</span>