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

Feature Request: Dropdown (<Select> Component) for Choices in Label Studio #7045

Open
chrisdukeLlama opened this issue Feb 8, 2025 · 6 comments

Comments

@chrisdukeLlama
Copy link

Feature Request: Dropdown (<Select> Component) for Choices in Label Studio

This functionality has already been requested in:
Is there a way to create a drop-down in labeling Interface? #5455
However, there was no response. I also need this feature and would like to highlight its importance.

Summary

I would like to request a dropdown (<select>-style) component for single-choice selections in Label Studio.
Currently, Choices only allows for:

  • Inline buttons, which take up too much space.
  • A vertical list, which clutters the UI.
  • No way to collapse choices into a dropdown.

If Label Studio already supports a way to achieve this, I would greatly appreciate documentation or examples. However, if this is not currently possible, I believe adding a dropdown component would be a useful feature for many users.

Why a Dropdown Would Be Useful

In my use case, annotators need to select one option from a predefined list while keeping the UI clean. Using Choices results in:

  • UI clutter when there are many options, especially across multiple categories.
  • Difficulty in keeping the workspace organized, particularly in text-heavy tasks.
  • Challenges for reviewing annotations, since once a few labels are applied, the entire screen is filled with label buttons, leaving little space for the text itself.

I have seen proposed workarounds that collapse the choices initially, but in my case, once a label is selected, all remaining choices remain visible. This makes it very difficult for a second person to review the labeling because the entire text view is blocked.

If this feature exists and I have missed it, I would appreciate guidance on how to implement it. Otherwise, I hope it can be considered for future development.

Thank you for your hard work and for providing such a great product.

Best regards,
Chris

@heidi-humansignal
Copy link
Collaborator

Hello,

Thank you for reaching out and sharing your detailed feedback.

Currently, Label Studio does not include a built-in <Select> (dropdown) component for single-choice selections. The existing Choices tag supports an inline button layout or a vertical list but does not offer a dropdown-style interface.
As a workaround, many users utilize the Taxonomy tag, which provides a more compact, searchable list that functions similarly to a dropdown. This approach helps streamline the UI, especially in text-heavy tasks. You can find more details in the [Taxonomy Tag Documentation].

That said, we understand the value of a dedicated <Select> component for single-choice tasks. Your feedback has been recorded (see discussions in #5455 and #7045), and we are actively considering it for future updates.

If you have any additional details about your use case or specific requirements, please let us know—we’re happy to help!

Comment by Oussama Assili
Workflow Run

@chrisdukeLlama
Copy link
Author

Thanks a lot for the fast reply. If the taxonomy collapses after selecting the label, it will be an improvement, else it will even be an additional line blocking my view on the text, I will test it.

Thanks for your great product and thanks for the future dropdown support ;)
Best regards
Chris

@heidi-humansignal
Copy link
Collaborator

Hello,

Yes, it does collapses, you can check out this playground: https://docs.humansignal.com/tags/taxonomy,

Thank you,
Abu

Comment by Abubakar Saad
Workflow Run

@chrisdukeLlama
Copy link
Author

Hello,
I tried it, but this will only solve my problem when I can limit the number of choices that can be selected within the taxonomy to one, because otherwise some user will at some point choose two options...

I tried to allow for one selection only, but nothing worked. So please help me how to do it!

Thanks for your help.
Best regards
Chris

@heidi-humansignal
Copy link
Collaborator

Hello,

You can set maxUsages="1" on Taxonomy and that will limit it to just one choice.

Thank you,
Abu

Comment by Abubakar Saad
Workflow Run

@chrisdukeLlama
Copy link
Author

@heidi-humansignal
Thanks Abu,
I should probably have seen this, sorry and thanks for your help!

Best regards
Chris

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

No branches or pull requests

2 participants