HumanSignal / HumanSignal/label-studio

How to update the value in TextArea with native js and synchronize it to TextArea

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

Description

![image](https://github.com/user-attachments/assets/f1d988a1-e9f3-40b3-969f-e0a52ee77981)

I update the value in the textarea using native js, but once the focus disappears, the updated value is gone. I want to know how to synchronize

let textarea = document.querySelector('textarea[name*="translation"]');
textarea.value =new_value;

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.