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

Prefix for Multi-Select-ComboBox #6858

Open
silas229 opened this issue Nov 27, 2023 · 3 comments
Open

Prefix for Multi-Select-ComboBox #6858

silas229 opened this issue Nov 27, 2023 · 3 comments

Comments

@silas229
Copy link

Describe your motivation

I would like to add an icon to the Multi-Select-ComboBox to make it easier to distinguish between several boxes

Describe the solution you'd like

Please also add the ability to set a prefix as in the normal combo box

https://vaadin.com/docs/latest/components/combo-box#prefix

Describe alternatives you've considered

I think that is the best option

Additional context

No response

@web-padawan
Copy link
Member

Please note that in vaadin-multi-select-combo-box, the prefix slot is used to render chips:

<slot name="overflow" slot="prefix"></slot>
<div id="chips" part="chips" slot="prefix">
<slot name="chip"></slot>
</div>

In theory we could still expose it, but the question is: does it need to be before or after chips?

@silas229
Copy link
Author

I think it is better if it is before chips

@urkl
Copy link

urkl commented Oct 11, 2024

Can we expect prefix component in the future?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants