Hi all,
In our project, after saving a record, we use the redirect to same page pattern (to do a full page reload), but:
1) In first page load, values are correctly loaded into DropdownTags widget;
2) After saving record, we do a redirect to the current screen and the page reloads but DropdownTags widget will be empty (no values at all)
3) If we do a browser F5, values will be correcly loaded to DropdownTags widget.
Note: I see all XHR requests to be the same after a F5 reload or redirect to same page.
I've attached OML file with example.
Hi Tiago,
I updated the .oml please take a look.
In this update I added a check IsDateFetched of GetPersonById to make sure it fetched the data then render the widget.
Regards,
Khuong
Hi Khuong,
Thank you so much. After viewing your solution, became obvious but never thought doing it :)
Tiago
You're welcome and glad that it helped you.
Cheers,