UI Builder client script cannot read the textarea field
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-15-2025 02:43 AM - edited 04-15-2025 02:44 AM
Hi,
I have a textarea component (id: textarea_1):
in my client script I have following code:
const textareaValue = api.state.textarea_1;
But if I log the variable I get a undefined value although I have inserted a text. How can I read the input of the textarea in my client script?
0 REPLIES 0