HumanSignal / HumanSignal/label-studio
Toggling the "Use predictions to prelabel tasks" switch for a project throws a minified React error
- Dominant language
- TypeScript
- Stars
- 28.3k
- Forks
- 3.7k
- Avg merge
- 14h
- Merged PRs (30d)
- 15
Description
**Describe the bug**
Flipping the "Use predictions to prelabel tasks" switch under the "Prelabeling" heading in the "Annotation" project tab will cause the following minified React app to be thrown:
https://reactjs.org/docs/error-decoder.html?invariant=31&args[]=object%20with%20keys%20%7Bgroup%2C%20value%2C%20label%7D
**To Reproduce**
1. Create a project
2. Upload data with predictions
3. Navigate to the "Annotations" tab, and flip the "Use predictions to prelabel tasks" switch
4. See error
**Expected behavior**
I expect to be able to use the UI without runtime errors.
**Environment (please complete the following information):**
- OS: [e.g. iOS] MacOS Sequoia 15.03
- Label Studio Version [e.g. 0.8.0] 1.16.0
**Additional context**
Stacktrace:
```
Component Stack:
option
Lp@https://redacted.com/react-app/main.js?v=a6415b:2:306211
optgroup
select
div
25057/Cp<@https://redacted.com/react-app/main.js?v=a6415b:2:301215
Mp@https://redacted.com/react-app/main.js?v=a6415b:2:306420
div
div
div
tm@https://redacted.com/react-app/main.js?v=a6415b:2:465921
div
25057/lf.Row@https://redacted.com/react-app/main.js?v=a6415b:2:327709
form
25057/Bu<@https://redacted.com/react-app/main.js?v=a6415b:2:187074
Cu@https://redacted.com/react-app/main.js?v=a6415b:2:173481
lf@https://redacted.com/react-app/main.js?v=a6415b:2:321920
div
25057/ru/n<@https://redacted.com/react-app/main.js?v=a6415b:2:168848
div
25057/ru/r<@https://redacted.com/react-app/main.js?v=a6415b:2:169184
div
25057/ru/n<@https://redacted.com/react-app/main.js?v=a6415b:2:168848
rm@https://redacted.com/react-app/main.js?v=a6415b:2:467478
t@https://redacted.com/react-app/vendor.js?v=1:2:258237
sentryRoute(t)
div
div
up@https://redacted.com/react-app/main.js?v=a6415b:2:298991
layout@https://redacted.com/react-app/main.js?v=a6415b:2:494547
t@https://redacted.com/react-app/vendor.js?v=1:2:259185
t@https://redacted.com/react-app/vendor.js?v=1:2:258237
sentryRoute(t)
cg@https://redacted.com/react-app/main.js?v=a6415b:2:506969
t@https://redacted.com/react-app/vendor.js?v=1:2:259185
t@https://redacted.com/react-app/vendor.js?v=1:2:258237
sentryRoute(t)
cg@https://redacted.com/react-app/main.js?v=a6415b:2:506969
t@https://redacted.com/react-app/vendor.js?v=1:2:259185
t@https://redacted.com/react-app/vendor.js?v=1:2:258237
sentryRoute(t)
cg@https://redacted.com/react-app/main.js?v=a6415b:2:506969
t@https://redacted.com/react-app/vendor.js?v=1:2:259185
t@https://redacted.com/react-app/vendor.js?v=1:2:258237
sentryRoute(t)
cg@https://redacted.com/react-app/main.js?v=a6415b:2:506969
Lg@https://redacted.com/react-app/main.js?v=a6415b:2:513732
div
div
Bd@https://redacted.com/react-app/main.js?v=a6415b:2:207222
div
cp@https://redacted.com/react-app/main.js?v=a6415b:2:295247
Mg@https://redacted.com/react-app/main.js?v=a6415b:2:513910
25057/Nd<@https://redacted.com/react-app/main.js?v=a6415b:2:201984
s@https://redacted.com/react-app/main.js?v=a6415b:2:522420
s@https://redacted.com/react-app/main.js?v=a6415b:2:522420
s@https://redacted.com/react-app/main.js?v=a6415b:2:531287
ie@https://redacted.com/react-app/main.js?v=a6415b:2:532327
tt@https://redacted.com/react-app/main.js?v=a6415b:2:546852
_g@https://redacted.com/react-app/main.js?v=a6415b:2:511062
gg@https://redacted.com/react-app/main.js?v=a6415b:2:509099
vu@https://redacted.com/react-app/main.js?v=a6415b:2:172977
25057/Bu<@https://redacted.com/react-app/main.js?v=a6415b:2:187074
Wu@https://redacted.com/react-app/main.js?v=a6415b:2:187795
Cu@https://redacted.com/react-app/main.js?v=a6415b:2:173481
t@https://redacted.com/react-app/vendor.js?v=1:2:255393
Ng@https://redacted.com/react-app/main.js?v=a6415b:2:512849
Fg@https://redacted.com/react-app/main.js?v=a6415b:2:515235
O@https://redacted.com/react-app/vendor.js?v=1:2:263667
P@https://redacted.com/react-app/vendor.js?v=1:2:263823
forEach@https://redacted.com/react-app/vendor.js?v=1:2:264405
47400/ie/t<@https://redacted.com/react-app/vendor.js?v=1:2:143445
ie@https://redacted.com/react-app/vendor.js?v=1:2:143489
uu@https://redacted.com/react-app/vendor.js?v=1:2:210770
Nl@https://redacted.com/react-app/vendor.js?v=1:2:231319
Tl@https://redacted.com/react-app/vendor.js?v=1:2:231092
Pl@https://redacted.com/react-app/vendor.js?v=1:2:230961
Ol@https://redacted.com/react-app/vendor.js?v=1:2:230822
bl@https://redacted.com/react-app/vendor.js?v=1:2:227819
47400/Go/<@https://redacted.com/react-app/vendor.js?v=1:2:177720
72568/t.unstable_runWithPriority@https://redacted.com/react-app/main.js?v=a6415b:2:1139042
Ko@https://redacted.com/react-app/vendor.js?v=1:2:177497
Go@https://redacted.com/react-app/vendor.js?v=1:2:177667
Qo@https://redacted.com/react-app/vendor.js?v=1:2:177600
hl@https://redacted.com/react-app/vendor.js?v=1:2:225238
Ta@https://redacted.com/react-app/vendor.js?v=1:2:197093
25057/tm/y<@https://redacted.com/react-app/main.js?v=a6415b:2:466725
```
Contributor guide
Assessment
This issue has not been assessed yet.