I have an investment portfolio app in which investors (users) can see their balance and shares, which are two properties of the users document.
I've also added an isAdmin flag in the users collection. If a user is an Admin, they can see a new page in which all other users are shown in a list view with a backend query.
I want to be able to edit the balance and shares property from the listview, but when I add a textfield, I get an error (see attached).
I also tried creating a component and passing the existing balance and shares as a parameter, but I can't get the updating mechanism to find that particular user. In the action flow dropdown, I can only see the authenticated user, not the entire users collection.
Any suggestions for how to get this to work?