HumanSignal / HumanSignal/label-studio
Pre-select choices isn't selected only when using "Label All Tasks"
- Dominant language
- TypeScript
- Stars
- 28.3k
- Forks
- 3.7k
- Avg merge
- 14h
- Merged PRs (30d)
- 15
Description
**Describe the bug**
When using dynamic choices were some are pre-selected they aren't selected when using "Label All Tasks" button but *are* selected when viewing them one by one.
**To Reproduce**
Steps to reproduce the behavior:
Project Template:
```
```
Create several tasks with data:
task1:
```
{
"choices0": [
{
"value": "a",
"selected": false
},
{
"value": "b",
"selected": false
}
],
"choices1": [
{
"value": "a",
"selected": false
},
{
"value": "b",
"selected": false
}
],
"choices2": [
{
"value": "a",
"selected": true
}
],
"choices3": [
{
"value": "a",
"selected": true
}
]
}
```
task2:
```{
"choices0": [
{
"value": "a",
"selected": false
},
{
"value": "b",
"selected": false
}
],
"choices1": [
{
"value": "a",
"selected": false
},
{
"value": "b",
"selected": false
}
],
"choices2": [
{
"value": "a",
"selected": true
}
],
"choices3": [
{
"value": "a",
"selected": true
}
]
}
```
... (I have created 10 tasks to reproduce the problem)
**Expected behavior**
Click on "Label All Task" and the choices aren't selected.
**Screenshots**
Project view:

GIF:
https://github.com/user-attachments/assets/d8c3291f-c050-4e10-9bbf-eaa73b445eaf
**Environment (please complete the following information):**
- OS: Docker on macos
- Label Studio Version 1.14.0
Contributor guide
Assessment
This issue has not been assessed yet.