HumanSignal / HumanSignal/label-studio

Pre-annotations in TextArea

Open
#3,093 1 comment 0 reactions 1 assignee Claimed by @makseq View on GitHub
import preannotations problem text
Dominant language
TypeScript
Stars
28.3k
Forks
3.7k
Avg merge
14h
Merged PRs (30d)
15

Description

**Describe the bug**
Not created in pre-annotations in TextArea

**To Reproduce**
I use no perRegion TextArea ->

...

And creat task + pre-annotation in "result":
{'id': 'ABxRQ4yZz8', 'type': 'textarea', 'value': {'text': ['1']}, 'origin': 'manual', 'to_name': 'img-left', 'from_name': '1_one', }
But annotation is not created. id - random

with manual markup I get:
{"id": "OtfXUcO2UM","type": "textarea","value": {"text": ["1" ] }, "origin": "manual","to_name": "img-left", "from_name":"1_one" }

How do i get this id? It's better to replace it with a static one.

**Expected behavior**
Creat pre-annotation in TextArea
id-static/maybe

**Environment (please complete the following information):**
- Label Studio Version [e.g. 1.4.1]

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.