sagalbot / vue-select

Everything you wish the HTML <select> element could do, wrapped up into a lightweight, extensible Vue component.
https://vue-select.org
MIT License
4.62k stars 1.33k forks source link

Add categories to options #1817

Closed ndjurno closed 3 months ago

ndjurno commented 5 months ago

First OSS contribution.

This was a feature that i added in my own project and since it didn't exist, i thought i'd add it.

Any feedback?

sagalbot commented 3 months ago

@ndjurno thanks for the suggestion. In this case, the logic is better suited for the parent component than it is within the component. If something can be done simply in the parent, it's best not to include it as an API within the component to keep the footprint small.