How can I set default value from the data in the following component v-model which is working inside loop?
<MultiSelect
v-model="item.displayOptions.size"
:options="sizeOptions"
label="Size"
trackBy="id"
labelField="name"
:noLabel="true"
></MultiSelect>
I need to set default value sizeOptions[1] when there is no property coming from the backend for the v-model value? How can it be achieved?