baklava
baklava copied to clipboard
[Feature Request]: Icon Support For bl-select Component
Describe the problem or use case
Currently we are using baklava design system in our frontend projects. We have designs like below:
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-icononly forbl-select - There can be
iconattribute forbl-select-optionand if an icon passed to that attribute,bl-selectdisplays 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
Add icon attribute that renders <bl-icon /> similar to how bl-badge works.