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

AutocompleteArrayInput not accepting props #3477

Closed
Kunnu01 opened this issue Aug 2, 2019 · 1 comment · Fixed by #3479
Closed

AutocompleteArrayInput not accepting props #3477

Kunnu01 opened this issue Aug 2, 2019 · 1 comment · Fixed by #3479
Labels

Comments

@Kunnu01
Copy link
Contributor

Kunnu01 commented Aug 2, 2019

What you were expecting:
On passing prop fullWidth in options of AutocompleteArrayInput component, ChipInput to have full wdth. I guess no props are accessible by AutocompleteArrayInput.

What happened instead:
passing fullWidth didn't work.

Related code:

<AutoCompleteArrayInput options={{
    fullWidth: true
}} />

Steps to reproduce
1- Open up any post
2- Go to MISCELLANEOUS
3- ChipInput doesn't has full width

CodeSandbox
https://codesandbox.io/embed/simple-jkp47

Additional Information
Even after sending options prop, AutocompleteArrayInput got options: { } (empty object) when checked using console log.

Environment

  • React-admin version:
  • Last version that did not exhibit the issue (if applicable):
  • React version:
  • Browser:
  • Stack trace (in case of a JS error):
@Kmaschta
Copy link
Contributor

Kmaschta commented Aug 2, 2019

Confirmed, thanks for the report

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

Successfully merging a pull request may close this issue.

2 participants