Problem: I have a select element. The options are populated using an array and while populating the select element I want to also set the selected value. How do I do this.
use v-bind:se;ected OR :selected with a boolean expression that returns TRUE or FALSE. If it returns TRUE that will be the selected value. See example below