There are places in Ingest Manager where we use EuiComboBox but only allow a single option to be selected. In these cases, we've been using the "badge" style like this:
EUI allows you to render the option as plain text, like this:
We should update all of the places where we have this "single select" behavior to use plain text. For example, the "namespace" field shown under advanced settings when creating an Agent config / policy has this. I think this also appears in the Add / edit integration workflow. We should be able to find all the places we do this by searching the Ingest Manager codebase for the singleSelection prop.
There are places in Ingest Manager where we use EuiComboBox but only allow a single option to be selected. In these cases, we've been using the "badge" style like this:
EUI allows you to render the option as plain text, like this:![image](https://user-images.githubusercontent.com/847805/90191590-2a6bef80-dd8f-11ea-8a91-64e7dd241b5d.png)
We should update all of the places where we have this "single select" behavior to use plain text. For example, the "namespace" field shown under advanced settings when creating an Agent config / policy has this. I think this also appears in the Add / edit integration workflow. We should be able to find all the places we do this by searching the Ingest Manager codebase for the
singleSelection
prop.See the "Single selection" section in the EUI docs for more information.