Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

UI Builder client script cannot read the textarea field

ozgurD
Tera Contributor

Hi,

I have a textarea component (id: textarea_1):

ozgurD_0-1744710207975.png

 

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