We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
What you were expecting: Search adds a new item; the old items remain intact.
What happened instead: Search adds a new item; the old items disappear.
Steps to reproduce:
Related code: Repro: https://github.com/magicxor/react-admin-repro-AutocompleteArrayInput-bug
<ReferenceArrayInput label="Achievements" source="achievements" format={formatAnyArray} reference="achievement" allowEmpty fullWidth> <AutocompleteArrayInput optionText={o => o.name} format={formatAnyArray} filterToQuery={createSearchFilter} disableClearable clearOnBlur={false} fullWidth /> </ReferenceArrayInput>
Other information: I guess that the bug reproduces when there is format attribute in ReferenceArrayInput and AutocompleteArrayInput tags.
format
ReferenceArrayInput
AutocompleteArrayInput
Environment
The text was updated successfully, but these errors were encountered:
Most of the props you set up to your ReferenceArrayInput should be pass to its children: https://marmelab.com/react-admin/Upgrade.html#referenceinput-and-referencearrayinput-no-longer-accepts-common-props
But the bug is reproducible regardless of this, so I'm marking this as such.
Sorry, something went wrong.
Duplicate of #8181
As it's a duplicate, I'm closing this bug in favor of the other one. Thanks for the report!
No branches or pull requests
What you were expecting:
Search adds a new item; the old items remain intact.
What happened instead:
Search adds a new item; the old items disappear.
Steps to reproduce:
Related code:
Repro: https://github.com/magicxor/react-admin-repro-AutocompleteArrayInput-bug
Other information:
I guess that the bug reproduces when there is
format
attribute inReferenceArrayInput
andAutocompleteArrayInput
tags.Environment
The text was updated successfully, but these errors were encountered: