I changed the Wrapper Component Example
from the VueJS documentation to include the AJAX data source option. Here is my code.
However, I would like to set the property of ajax url my select2 component dynamically as best as possible ,
<select2 :options="options" v-model="selected" url="dynamic-url-here">
<option disabled value="0">Select one</option>
</select2>
How should I do it?
source
share