When working with Vue markup, make sure you are actually calling the function rather than just passing it as a parameter. To call the function, do this:
<v-select
:items='functionToCall()'
......
>
It is recommended to use a computed property, as a function call will only be triggered upon re-rendering. Computed properties update reactively based on the reactive data that influences their output.
Note: The most dependable method to force a component, or part of a component, to re-render is by changing the key
prop of the component. Avoid using $forceUpdate
or other methods to enforce re-renders, as they may not always work reliably (and if you find yourself needing to force a re-render often, there might be a flaw in your approach).