Vue-multiselect: Multiple select, slot="selection" does not work

Created on 21 Dec 2018  路  2Comments  路  Source: shentao/vue-multiselect

Multiple select Documentation says that a slot "selection" can be used, but it is nowhere to be found in available slot list and it does not work if I just use the sample code. How can I control the display of multiple options selected?

Edit: it works, but it's not documented properly.

Most helpful comment

can you please let us know how you solved it?

All 2 comments

can you please let us know how you solved it?

@rriixx You can either use the selection slot to modify the whole selection area (for example to replace tags with a text like in the linked docs example) or use the "tag" slot to modify each selected element.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

stefanheimann picture stefanheimann  路  4Comments

MaxHalford picture MaxHalford  路  4Comments

shsmad picture shsmad  路  3Comments

dmitov picture dmitov  路  4Comments

icebob picture icebob  路  4Comments