What I am trying to do: customize the list of items displayed in a dropdown so that some of them have e.g. different text colors (gray for those items it does not make sense to select, for instance)
What I have tried: nothing, since it seems css_styles are static for a component. However, I am aware of custom (conditional, etc) formatters for Table cells, so I guess what I am asking is very similar but applied to each dropdown item.
I read about formatters here: