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

Multiple select

Open multiOTP opened this issue 7 years ago • 2 comments

Hello in the documentation we found this <v-select v-model="select.value" :options="select.options" options-value="val" multiple name="animals[]" limit="3" placeholder="Using placeholder" search justified required disabled clear-button close-on-select></v-select>

But we had to replace limit="3" by :limit=3

Can you update the documentation or tells us what we did wrong ? Thanks, have a nice day

multiOTP avatar Apr 28 '17 11:04 multiOTP

limit="3" gives a string but the later one gives an integer, I think that's why it was causing issues.

pramjeet avatar May 28 '17 09:05 pramjeet

yeah you right, a little mistake because in vue2 was removed coerse, in vue1 this prop auto convert string to number.

wffranco avatar May 29 '17 15:05 wffranco