Hi all,
I have an issue with two galleries working together. One gallery displays a list of quotes which is sourced from one table, and another table called customers which is sourced from another table.
So basically a user selects a quote from a gallery and in the next gallery they confirm the customer that the quote belongs to. This issue only happens ONCE, when the app starts. No matter which quote you select it will always think you selected the first row of the draft orders gallery. But when you go back and select another, it makes the correct selection.
I have tried some different code to get the same result, however the issue where if you select it the first time after app start up, it will select the wrong one.
Quote Gallery
Customer Gallery
The code for draft orders(quotes)
Filter(OQuote, Status = "Draft" && SubmittedBy=User().Email)
Code for selection arrow on draft gallery
Navigate(ConCust, ScreenTransition.Cover, {QuoteNum:ThisItem.OrderNumber})
Code for Customer Gallery
Filter(Customers,DraftGallery.Selected.CustomerCode = CustomerCode)
Note: The issue doesn't happen when editing the app.