-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Closed
Description
Library
React Components / v9 (@fluentui/react-components)
System Info
System:
OS: Windows 11 10.0.22631
CPU: (8) x64 Intel(R) Core(TM) i7-8665U CPU @ 1.90GHz
Memory: 5.62 GB / 15.82 GB
Browsers:
Edge: Chromium (121.0.2277.98)
Internet Explorer: 11.0.22621.1Are you reporting Accessibility issue?
no
Reproduction
https://codesandbox.io/p/sandbox/hopeful-wilbur-2584m4?file=%2Fsrc%2Fexample.tsx
Bug Description
Actual Behavior
When selecting an item in the ComboBox, the selected value is not shown when the ComboBox is not expanded. The placeholder remains visible. When the ComboBox is expanded, you get to see the actual selected value as it has a checkmark.
This is the behaviour on the components documentation page: https://react.fluentui.dev/?path=/docs/components-combobox--default#filtering
Expected Behavior
When an item is selected in the ComboBox, I would like to see that value, instead of the placeholder (which should only be shown when no selection is made)
Logs
No response
Requested priority
Normal
Products/sites affected
No response
Are you willing to submit a PR to fix?
no
Validations
- Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- The provided reproduction is a minimal reproducible example of the bug.
Reactions are currently unavailable