Conditional format per item in dropdown

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:


There are not currently any options to style or disable the menu items in a Dropdown. It would be reasonable to open a GitHub issue to propose it for future feature development.