vue-select2 icon indicating copy to clipboard operation
vue-select2 copied to clipboard

Custom options and v-model for global component?

Open DuySon1994 opened this issue 3 years ago • 0 comments

I have created a global component for select2 and used it in many pages. This is my component: 2021-07-07_09-51-50

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?

DuySon1994 avatar Jul 07 '21 02:07 DuySon1994