Alright, I have a profile page, and an edit profile page for my users. When they click the save button it’ll update the database and take them back to their normal profile page. However, after clicking the save button, it doesn’t reflect changes right away. I have to refresh to show the updates. I’d of course like to see the changes reflected immediately. Is there a solution to that?
Hi,
You can use dataset refresh method when save() is resolved:
$w("#myDataset").save()
.then( (item) => {
$w("#myDataset").refresh();
} )
.catch( (err) => {
let errMsg = err;
} );
Liran.