This is a noobish question, but how can I name an input for post requests, so I can save the input to database?
I want to use this component as a select box
<v-select name="tags"></v-select>
the one above did not work
Hi @shigg1120,
The component itself isn't a form input, so you'll need to use a hidden input.
<v-select value.sync="foo">
<input type="hidden" v-model="foo" name="foo" />
appreciate your help
It is not working with version 3.1.0
@mortezarajabi looks to be working in this example https://codepen.io/sagalbot/pen/zZQJKW
Most helpful comment
Hi @shigg1120,
The component itself isn't a form input, so you'll need to use a hidden input.