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

Uncaught Error: Choice creation is only supported when optionText is a string #6560

Closed
hieudn2012 opened this issue Sep 8, 2021 · 3 comments
Labels

Comments

@hieudn2012
Copy link

<SelectInput optionText={(record) => record.fullName} optionValue="id" />
React-admin: 3.18.0
Screen Shot 2021-09-08 at 11 22 12 AM

@fzaninotto fzaninotto added the bug label Sep 8, 2021
@fzaninotto
Copy link
Member

Thanks for reporting. It is indeed a bug, and we've already fixed it in #6558, to be released in 3.18.1.

@davidhenley
Copy link
Contributor

Thank you @hieudn2012 this was driving me crazy

@davidhenley
Copy link
Contributor

@fzaninotto @hieudn2012 That fixed it! Thank you!

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

3 participants