How to store data in temp state using listviews

Hi Doris! Thank you for reaching out, we can definitely help with this.

There are 2 things we must do in order to resolve this:

1. Use a temporary variable to store the length of the listView object. The "Add Row" button when clicked will trigger a JS snippet that increments the temporary variable by 1.

The addRowToListView query looks like this:

2. Define "Row Keys" for the listView component. This will prevent the contents of the textInput from being cleared when a new row is added.

The resulting setup should do exactly what you need! Don't hesitate to reach out again if there is something else that we can help you with :slightly_smiling_face:.