Repository navigation
[combobox]: how to style matching text segments differently? #1628
Answered
by
LFDanLu
stefanprobst
asked this question in
Q&A
|
the is something like this possible with rsp combobox? |
Answered by
LFDanLu
Feb 23, 2021
Replies: 1 comment 2 replies
|
@stefanprobst We don't support something like that out of the box, and it would be difficult to do due to the caching behavior of our collection components + the assumption that each item passed to the collection is immutable. Perhaps it can be done if you do an Array map instead of passing the items directly to the ComboBox, and you modify this array of items every time the input value changes so that the text value has the |
2 replies
Answer selected by
devongovett
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@stefanprobst We don't support something like that out of the box, and it would be difficult to do due to the caching behavior of our collection components + the assumption that each item passed to the collection is immutable. Perhaps it can be done if you do an Array map instead of passing the items directly to the ComboBox, and you modify this array of items every time the input value changes so that the text value has the
<b>applied to correct places.