Skip to content
This repository has been archived by the owner on Mar 21, 2023. It is now read-only.

Custom options and v-model for global component? #48

Open
DuySon1994 opened this issue Jul 7, 2021 · 0 comments
Open

Custom options and v-model for global component? #48

DuySon1994 opened this issue Jul 7, 2021 · 0 comments

Comments

@DuySon1994
Copy link

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?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant