-
-
Notifications
You must be signed in to change notification settings - Fork 5.3k
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
ReferenceArrayInput not passing choices anymore to underlying component (3.0.0-alpha.3) #3600
Comments
ReferenceArrayInput
not passing choices anymore to underlying component (3.0.0-alpha.3)
I can't reproduce it on the simple example (Post edition, miscellaneous tab, tags input). Can you setup a codesandbox to show your issue ? |
Thank you for looking into it. If you inspect the component Tree, you can see that the data actually exists but is not passed down further:
|
Confirmed. Thanks for reporting 👍 |
Fixed by #3602 |
After upgrading to the latest 3.0 alpha version (alpha.3), the
ReferenceArrayInput
component does not pass down thechoices
props anymore. The cause is this: 57b85e7#diff-dc9a2e6b09c659aa6e40fb33102b911c commit (line:react-admin/packages/ra-ui-materialui/src/input/ReferenceArrayInput.js
Line 108 in 57b85e7
choices
is overwritten with the default prop of and empty Array ([]
)Version:
3.0.0-alpha.3
React:
16.9.0
The text was updated successfully, but these errors were encountered: