moreta / vue-search-select

A Vue.js search select component
https://vue-search-select.netlify.com
MIT License
404 stars 126 forks source link

Slots are not usable by ModelListSelect #189

Open Tempystral opened 1 year ago

Tempystral commented 1 year ago

I'd like to use the new slots feature to customize the display of a search over custom data. However, slots are not inherited through wrapper components. It would be nice to either have slots for the ModelListSelect component or to pass through the existing props using the technique at the end of this gist, if appropriate.

I've done some investigation on my own time and I think it may require using a template instead of the render function currently in use in ModelListSelect. I will keep looking and open a PR if I have success.