I\'m trying to use a data coming from a prop with v-model, the following code works, but with a warning.
For those still coming through to this, the official Vue docs shows how to use v-model on a custom component: https://vuejs.org/v2/guide/components.html#Using-v-model-on-Components
TL;DR:
You simply need to have a specifically named value prop, and emit an input event which the v-model when you instantiate the component maps for you.
More info on how this works on the link above.