Support links in Combobox Pajamas component
There's an ambiguous dropdown control which has these properties:
- Consists of a list of links
- One of these links could have a selected state
The problem with this control is that it doesn't fall strictly into a Disclosure dropdown or a Combobox category.
Disclosure dropdown doesn't have a selected state at all and Combobox doesn't support links. When migrating from the legacy dropdowns this causes a problem: it's hard to choose which component to use for migration. You will have to implement either of the missing functionality by yourself, which complicates things. An example migration with this issue.
In order to fix that we should add a support for links in the Combobox pajamas component because it looks like a better fit for this scenario. Without this you'll have to implement the logic for handling links yourself. The links will also no longer be accessible by the user – they will only see buttons with text instead of proper <a>
elements.