Update field in a repeated list does not work (or seems to not work)

I have a data structure on Firebase that I retrive using the “get collection”, currently there are only two elements so the result of the GET is the following:

[
{
“name”: “xxx”,
“fields”: { “unit”: { “stringValue”: “” }, “name”: {“stringValue”: “” }, “value”: {“integerValue”: “0” } “quantity”: {“stringValue”: “”}
},
“createTime”: “2023-01-13T14:36:00.537298Z”,
“updateTime”: “2023-01-13T14:36:00.537298Z”
},
{
“name”: “xxx”,
“fields”: { “unit”: { “stringValue”: “” }, “name”: {“stringValue”: “” }, “value”: {“integerValue”: “0” } “quantity”: {“stringValue”: “”}
},
“createTime”: “2023-01-16T17:17:07.520376Z”,
“updateTime”: “2023-01-16T17:17:07.520376Z”
}
]

the name of the DATA is Ingredienti

I create a data variable that is automatic renamed Ingredienti1

in the view mode I created a list repeated with data.Ingredienti1

image

and in the Value field that is bydirectional

repeated.currentIngredient.fields.name.stringValue

image

I added logic driven by the onBlur to update firebase but the value of the field is always empty so I did some test

I tested using the mobile app and the debugger.
The result is that changing the text in the input filld the data variable does not change (see below).
The input is by-directional, so I expect to have the data variable updated, wihtout that I cannot use it to update firebase.

Anyone can help in solving this problem or driving me to the right resource to solve it?

Thank you
Giovanni


Some resources to check before you post:

AppGyver Academy: SAP AppGyver Quick-Start

Troubleshooting FAQ: SAP AppGyver FAQ