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]: Icon Support For bl-select Component #974

Open
ozkersemih opened this issue Jan 2, 2025 · 0 comments
Open

[Feature Request]: Icon Support For bl-select Component #974

ozkersemih opened this issue Jan 2, 2025 · 0 comments

Comments

@ozkersemih
Copy link
Contributor

Describe the problem or use case

Currently we are using baklava design system in our frontend projects. We have designs like below:
image
Screenshot 2025-01-02 at 14 32 17

Unfortunately, bl-select component only displays textValue of bl-select-option.

Proposed solution

So, there are some ways to display icon on value part of bl-select component.

  • There can be slot for bl-icon only for bl-select
  • There can be icon attribute for bl-select-option and if an icon passed to that attribute, bl-select displays icon of selected option from that attribute.
  • There can be render attribute to override what will be rendered on value part of bl-select

We need to choose one of the options above. Also we need to discuss is it suitable design for baklava or not.

Alternatives considered

No response

Additional technical context

No response

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

1 participant