inveniosoftware / inveniosoftware/react-invenio-forms

RemoteSelect issue bug

Open
#311 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
JavaScript
Stars
2
Forks
37
PR merge metrics
No merged PRs in 30d

Description

Package version (if known): 4.11.2

## Describe the bug
When you make a search and you get just one result back, you select that result, but instead of selecting, another API call is made and only after can you actually select your result. It was introduced in the last change https://github.com/inveniosoftware/react-invenio-forms/commit/52e93513c2961a85a410faf49ce5fb85005e1002
## Steps to Reproduce
Click on input, make a search that returns just one result, select that result.

## Expected behavior
I should be able to select the one result normally. I am attaching video for clarity. Please note also the right hand side with network tab, where you can see another call is made.

https://github.com/user-attachments/assets/8346a875-1f69-4aee-9db6-8277b509c7eb

## Screenshots (if applicable)

## Additional context

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.