Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AutocompleteInput doesn't work decorated with RefernceInput #5757

Closed
anjeylink opened this issue Jan 11, 2021 · 6 comments
Closed

AutocompleteInput doesn't work decorated with RefernceInput #5757

anjeylink opened this issue Jan 11, 2021 · 6 comments
Labels

Comments

@anjeylink
Copy link

anjeylink commented Jan 11, 2021

When using AutocompleteInput decorated with ReferenceInput it should load new possible values using user input as query filter after user starts typing.

Instead when it trying to load new possible values "AutocompleteInput" disappear and appear again after request was finished with old value of input and old possible values. see video.

I think this is related to #5731

CodeSandbox
https://codesandbox.io/s/strange-drake-gm82q?file=/src/comments/CommentEdit.js

  • React-admin version: 3.11.2
  • Last version that did not exhibit the issue: 3.11.1
react_admin.mp4

Not possible to filter posts.

reac_admin_code_sandbox.mp4
@djhi
Copy link
Collaborator

djhi commented Jan 11, 2021

Please follow the issue template

@anjeylink
Copy link
Author

@djhi I added CodeSandbox link and another video

@andrico1234
Copy link
Contributor

I'm also having the same issue, under the same circumstances. I'll be happy to provide a repro too if it's of any use

@djhi djhi added bug and removed needs more info labels Jan 11, 2021
@djhi
Copy link
Collaborator

djhi commented Jan 11, 2021

Thanks for the report. That's a nasty bug indeed

@etienne-bondot
Copy link

etienne-bondot commented Jan 12, 2021

I can confirm after testing locally on the RA demo that it was introduced by #5731 as @anjeylink said. Reverting the change fix it.

@fzaninotto
Copy link
Member

Fixed by #5763

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants