[Vuejs]-How can I get selected value in dropdown on vue component?

6👍

You can solve it easily by putting this

<option disabled value="">Status</option>

Instead of this

<option selected disabled>Status</option>

https://v2.vuejs.org/v2/guide/forms.html#Select

v-model will ignore the initial value, checked or selected attributes
found on any form elements. It will always treat the Vue instance data
as the source of truth. You should declare the initial value on the
JavaScript side, inside the data option of your component.

Leave a comment