Skip to content

[Bug] React key prop warning in UserSearchFieldInput #1644

@Sbragul26

Description

@Sbragul26

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

Metadata

Metadata

Assignees

Labels

kind/bugSomething isn't working

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions