You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Indeed!
I tried to make sure the format and parse props were not causing the re-render by moving them to a const, but the issue is still there.
The issue is not present however when you remove the format and parse props (which is what the PR #8599 fixed).
Reopening
slax57
changed the title
ReferenceArrayInput with AutocompleteArrayInput flickers and resets value on search
ReferenceArrayInput with AutocompleteArrayInput flickers and resets value on search when used with format and parse
Jan 30, 2023
This actually makes sense inside a ReferenceArrayInput as it expects a specific format for the values (array of ids). @tomek3e, would you mind explaining your use case? Otherwise, I'll mark this as a documentation issue.
What you were expecting:
When using AutocompleteArrayInput with a ReferenceArrayInput with parse/format options:
What happened instead:
Steps to reproduce:
Related code:
CodeSandox: https://codesandbox.io/s/array-reference-input-xrrv94?file=/src/posts/PostCreate.tsx
Environment
The text was updated successfully, but these errors were encountered: