Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request]: Custom component as SelectOption #751

Closed
erkanzileli opened this issue Dec 18, 2023 · 4 comments
Closed

[Feature Request]: Custom component as SelectOption #751

erkanzileli opened this issue Dec 18, 2023 · 4 comments

Comments

@erkanzileli
Copy link

Describe the problem or use case

I want to use a custom component as a SelectOption because I want to add badges to the elements

Proposed solution

It'd be nice if I'll be able to provide children in the SelectOption

Alternatives considered

If you have any alternatives for this, it'd be nice

Additional technical context

No response

@leventozen
Copy link
Member

@buseselvi what do you think about this? We may consider adding badges as a functionality to our select options rather than supporting custom component?

@buseselvi
Copy link
Contributor

Hi, can you share an image of the example? @erkanzileli

@ogunb
Copy link
Contributor

ogunb commented Dec 28, 2023

If I didn't misunderstand, it should already be possible.

https://codesandbox.io/p/sandbox/determined-wood-kgp3s9?file=%2Fsrc%2FApp.vue%3A20%2C15

@ogunb
Copy link
Contributor

ogunb commented Jan 19, 2024

This issue should be solved with #766. Feel free to reopen it, if you have any concerns over it.

@ogunb ogunb closed this as completed Jan 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants