[Bug] React key prop warning in UserSearchFieldInput
Open
@Sbragul26 is already working on this.
Since Jun 16, 2026.
kind/bug
- Dominant language
- TypeScript
- Stars
- 137
- Forks
- 239
- Avg merge
- 4d 14h
- Merged PRs (30d)
- 5
Description
Current Behavior
A React warning is shown during UserSearchFieldInput tests because the key prop is being passed through a spread object in renderOption.
The tests pass successfully, but a console error appears in the test output.
Expected Behavior
No React warnings should be shown during test execution.
The key prop should be passed directly to the rendered element instead of being included in the spread props object.
Screenshots/Logs
Contributor Guides and Resources
- 🛠 Meshery Build & Release Strategy
- 📚 Instructions for contributing to documentation
- 🎨 Wireframes and designs for Sistent site in Figma (open invite)
- 🙋🏾🙋🏼 Questions: Layer5 Discussion Forum and Layer5 Community Slack
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.
Assessment
This issue has not been assessed yet.