Hi Eveyone,
I am building an app where to start an inspection you must select a client form a dropdown.
My app uses SaveData on app start to save Clients data to local storage in case the device goes offline during inspection.
It does work in offline mode but the dropdown shows each client twice.
Any help would be appreciated
here is my code
App onStart()
If(Connection.Connected,
ClearCollect(
offlineClients,
Clients
);
SaveData( offlineClients, "offlineClients"); LoadData(offlineClients, "offlineClients"),
LoadData(offlineClients, "offlineClients")
);
clientDropdown
If(Connection.Connected, Clients, offlineClients)