Skip to content

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

@TymekDev

Description

@TymekDev

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

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions