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

[Bug]: dropdown_extra doesn't work if it has a single choice #60

Open
1 task done
TymekDev opened this issue Aug 5, 2024 · 0 comments
Open
1 task done

[Bug]: dropdown_extra doesn't work if it has a single choice #60

TymekDev opened this issue Aug 5, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@TymekDev
Copy link

TymekDev commented Aug 5, 2024

Guidelines

  • 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

  1. Create dropdown_extra("id", "a")
  2. Observe TypeError: choices.map is not a function in 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

@TymekDev TymekDev added the bug Something isn't working label Aug 5, 2024
@TymekDev TymekDev self-assigned this Aug 5, 2024
TymekDev added a commit that referenced this issue Aug 5, 2024
TymekDev added a commit that referenced this issue Aug 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant