reactable.extras
reactable.extras copied to clipboard
[Bug]: dropdown_extra doesn't work if it has a single choice
Guidelines
- [X] I agree to follow this project's Contributing Guidelines.
Project Version
No response
Platform and OS Version
No response
Existing Issues
No response
What happened?
dropdown_extra fails if there is only a single choice.
Steps to reproduce
- Create
dropdown_extra("id", "a") - Observe
TypeError: choices.map is not a functionin the browser console
Expected behavior
Dropdown has a single option and works properly.
Attachments
No response
Screenshots or Videos
No response
Additional Information
No response