@hig/Dropdown: The values in the text field are only displayed as a string (not as a react node)
- Dominant language
- JavaScript
- Stars
- 193
- Forks
- 112
- PR merge metrics
- No merged PRs in 30d
Description
Hi team,
On the next example (image below) when I use the `renderOption` prop and then I create a span element inside it. When I open the list element, that is rendered as expected, but when I set the `value` prop, the textfield only display the string value(omit the span element)

Contributor guide
Research direction
Begin with the @hig/Dropdown implementation and reproduce the renderOption/value example from the issue; no source file or test is named in the report. Trace how the selected value is displayed, then add or update relevant coverage so the selected field preserves the rendered span while the option list remains correct.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, react
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100