Hello,
I have a screen which is more like a List page, I use a GET method and populate the collection. All works fine, it displays all the records as desired.
I have an “Add Item” button above the table. This opens up a sheet where I define the information that needs to be added. I wrote a POST method to push the data to my Xano table, that also works fine.
Where I’m facing problem is in the edit flow. In the table of items, I have a icon in each row which allows that particular item to be edited. When I click on the icon, I open a new sheet and populate all the values using the “Init”. Since there is a handle on item.data, I don’t have a problem to fire up values in the screen.
When I submit this edit sheet, I invoke a PUT method corresponding to the item. When I try to set values for each field, I don’t find the list of elements from the current page. Due to this I’m unable to send the element values to my PUT method.
In Add screen, I see the element values, whereas when I come to the Edit screen from a line item,the element values are not displayed for me to map.
Here’s a short Loom recording where I show the issue that I face.
Any help would be great! Thanks!