Vue-form-generator: Help to update VueMultiselect partial functionnality

Created on 26 Jun 2017  路  6Comments  路  Source: vue-generators/vue-form-generator

The goal here is to update to the new API of VueMultiselect v2 (kinda relate to #193).
So far, I did the easiest part, cleaning old and unused props and adding the missing one. I also reordered the props to fit the documentation.

My biggest challenge so far is the new way to do custom rendering of the list.
Before, it was using Vue partials. But since Vue added scoped slot, they decided to use that instead.
The problem is that I don't see how we can implement an interface to send template elements into this slot.
I have little experience with scoped slot, but I'm not comfortable with them.
I always have a hard time wrapping my head around the concept, and this is another level of complexity.

So if anyone could help me find a nice solution, that would be very helpful.

PR here #240

enhancement help wanted later

All 6 comments

Thanks the PR.
Currently I don't know also how we can add scoped slots to multiselect field.

Workaround: if somebodies want to use custom multiselect listing, they need to create custom fields with slots :)

@icebob If we drop this functionality (at least for now), I can finish this faster. You validate ?

I think it is a bigger development (scoped slots thing), so I suggest to make it later, after the stable v2.

@lionel-bijaoui full dev example is not working after #240.
image

245 will fix it

Thx. It works.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

zwx00 picture zwx00  路  3Comments

jewbetcha picture jewbetcha  路  3Comments

sjordan1975 picture sjordan1975  路  5Comments

jaywilburn picture jaywilburn  路  3Comments

afourmeaux picture afourmeaux  路  4Comments