JedWatson / JedWatson/react-select
When value is an object with properties, it doesn't get selected in menu list.
Open
Nobody has claimed this yet.
issue/bug-unconfirmed
- Dominant language
- TypeScript
- Stars
- 28k
- Forks
- 4.1k
- PR merge metrics
- No merged PRs in 30d
Description
Hello, I've tried to use the value as an object with multiple properties but when I select it from the Menu list I don't see that the CSS its being applied correctly.
Codesandbox to check:
https://codesandbox.io/s/react-select-object-as-value-4547j?file=/src/App.js
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Open the linked CodeSandbox and reproduce the issue with an object-valued option selected from the menu list. Inspect how the selected value is represented and how its CSS is applied. Done means selecting the object applies the expected CSS correctly.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100