vue dropdown select code example

Example 1: radio button vue

<input type="radio" id="one" value="One" v-model="picked">
<label for="one">One</label>
<br>
<input type="radio" id="two" value="Two" v-model="picked">
<label for="two">Two</label>
<br>
<span>Picked: {{ picked }}</span>

Example 2: vue v-model

<input v-model="message" placeholder="edit me">
<p>Message is: {{ message }}</p>

Example 3: vuejs -> select

<select v-model="selected">
  <!-- inline object literal -->
  <option v-bind:value="{ number: 123 }">123</option>
</select>