Overview
The issue occurred because the data array was not being cleared between page transitions, causing old data to persist.
Ensure the data array is cleared at the beginning of the second page to allow fresh data to load correctly.
2 pages! 1st page = list (loop), 2nd page = edit1st page button in loop with value = ID2nd page DB read action with WHERE ID = {data.quote.ID} + data merge
That works so far: BUT: if I go to page 2 with the back button to the 1st page and select another data record, the previous one is always loaded. As if data merge doesn't work the 2nd time.
I'm such an idiot... I had the wrong order on page 2 with $this->data = [];Now it works... Thanks rbock... ;-)
This topic is locked and no more replies can be posted.