How Can I Change SelectItemIndicator ? #915
-
I want to show a different icon for non-selected items. How can I achieve that? How can I access the selected state to use
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
@sadeghbarati Sorry for mentioning mate. Could you give me an answer to this? How to set a different icon for non-selected items? How can I access the checked state inside the |
Beta Was this translation helpful? Give feedback.
-
@Uhasith Hi check this, check |
Beta Was this translation helpful? Give feedback.
@Uhasith Hi check this, check
SelectItem.vue
, addedgroup
class toSelectItem
component, then afterSelectItemIndicator
, added a span with class ofgroup-data-[state='checked']:hidden
https://stackblitz.com/edit/cr9ryj