I have created a global component for select2 and used it in many pages.
This is my component:
And I want the ":options" and "v-model" different for each page but it's only show the original "myOptions" in component. How can I custom name and data for ":options" and "v-model" in each page?
I have created a global component for select2 and used it in many pages. This is my component:
And I want the ":options" and "v-model" different for each page but it's only show the original "myOptions" in component. How can I custom name and data for ":options" and "v-model" in each page?