layer5io / layer5io/sistent

[Bug] React key prop warning in UserSearchFieldInput

Open
#1,644 0 comments 0 reactions 1 assignee View on GitHub

@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
Image
Contributor Guides and Resources

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.