I have got gallery in my app, which displays the view from SQL. (the view contains Id from base table and properties from related tables). I have added also the form to edit this record - the form mode is edit and item property is lookup formula, with statement like below:
LookUp('Table', RecordId = Gallery.Selected.RecordId). When I run preview of the application - it works. I can edit the records. But when i publish the app or open app editting once time again it stops to work.
When I delete the form and add once time again, it works only in app preview - when I publish it, the issue occurs again.