Text area default value not working and retaining previously entered text

Hello ,

I'm running into a strange issue where I have a text area component in a listView. I'm passing the data to the listview and referring in the Text area. Initially the value would be ""(empty). But when I enter something in the text area, exist out of the view (which resets the listview data, meaning value would go back to empty), and come back to listview, It's still retaining the value entered by me and I can see the default value is empty. Is this a bug or am I missing something?

Text Area

Hello @brusum ,

could you please share screenshots or a screen recording?

Hi ,
Sure. Here is the screen shot of the text area Initially when there is no text entered.

After I enter some text information.

When back button is clicked, I'm resetting the data to empty strings for all the text areas.

But, when I come back to the same screen/view, Its still retaining the string that I entered before even though the default is empty.

Let me know if you need additional info.

Thanks.

Hey @brusum,
Instead of re-setting your global variable in the click handler, try running a query that resets the instanceValues on your listView component using listView1.resetInstanceValues()


@brusum ,
Just checking in to see if my suggestion worked for you.