Vue-select: The temporary option when using taggable should be a Object

Created on 21 Oct 2017  路  11Comments  路  Source: sagalbot/vue-select

When using the option slot:

  • Vue complains [Vue warn]: slot v-bind without argument expects an Object since the temporary option is a string
  • the passed value is useles: {0:'a',1:'b' ... }
<template slot="option" slot-scope="props">
    <span class="option-label">{{props.value}}</span>
    <span class="fa" v-bind:class="'fa-'+props.source"></span>
</template>

BTW: The object could also have something to detect when we are displaying a temporary value.

in progress

All 11 comments

Makes sense. Can you PR your fix? Thanks!

I'm having this issue as well, how is the PR going?

Thanks

@phattarachai merged - new release will be published this week.

@sagalbot am I blind? I cant find the release with this fix

Please publish a release. This fix is very important when working with tags and needs to use template to customize.

@sagalbot I am experiencing this issue, too. I cannot find the proposed fix.

I built the package with the latest changes as of today. You can install it using this command:

npm install git+https://[email protected]/sebastianbk/vue-select.git

Any updates on this?

Added in 2.5.0.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

threeaccents picture threeaccents  路  3Comments

jluterek picture jluterek  路  3Comments

rudykaze picture rudykaze  路  3Comments

FrozenIce0617 picture FrozenIce0617  路  3Comments

pud1m picture pud1m  路  3Comments