vue form input code example
Example 1: vue test form input
wrapper.get('input[name=username]').setValue('someone')
await wrapper.vm.$nextTick() // is required to take effect.
Example 2: vue form
<input v-model="message" placeholder="edit me">
<p>Message is: {{ message }}</p>
Example 3: 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>