HumanSignal / HumanSignal/label-studio

Add required option to Labels tag

Open
#8,869 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
28.3k
Forks
3.7k
Avg merge
14h
Merged PRs (30d)
15

Description

**Is your feature request related to a problem? Please describe.**
I would like to enforce annotators to always highlight a region in the text using one of the labels in my tag. This is not possible at the moment, because this option is not available for the Labels tag.

**Describe the solution you'd like**
I would like to see the attribute "required" added to the labels tag, which checks whether the annotator selected at least one region in the text, and otherwise gives a popup when the annotator clicks on "submit".

**Describe alternatives you've considered**
I am now either accepting that my data does not get labelled, or need to add a complex set of rules across multiple Views, Choices, and Labels tags. (e.g., a View with visible when "no-region-selected", containing a required choice that adds a control question. However, users can still ignore this reminder.)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.