Open balduinofernando opened 3 years ago
Hi @godbasin. I am using vue3-select2, the options data is being loaded, but it doesn't show the labels.
My options data is coming like this:
suppliers:[ {company_name:"Company 1", id:1}, {company_name:"Company 2", id: 2} ]
and the component is like this:
<select2 v-model="supplier_id" :options="suppliers" >
But the labels isn't shown. What should I do to make it work?
Please provide a more specific code snippet, thanks.
Hi @godbasin. I am using vue3-select2, the options data is being loaded, but it doesn't show the labels.
My options data is coming like this:
suppliers:[ {company_name:"Company 1", id:1}, {company_name:"Company 2", id: 2} ]
and the component is like this:
<select2 v-model="supplier_id" :options="suppliers" >
But the labels isn't shown. What should I do to make it work?