How do I know if a select box has completed loading?
Also, on the select control, will it automatically select the right item if i map my _id value to the value field on selectAthleteName-0 in the picture above?
Catch up wih the Appery.io community on our forum. Here you'll find information on the lastest questions and issues Appery.io developers are discussing.
https://forum.appery.io/
Also, on the select control, will it automatically select the right item if i map my _id value to the value field on selectAthleteName-0 in the picture above?
Hello.
It's very important to understand service events order.
So this order is:
1 success
2 complete
To fix this problem you should use one type of event where you can populate select and execute the service.
Example:
pre
code
loadAthleteService.execute( {
success:function(data) {
//data is JSON response object
Code: Select all
//Add code which populate your select by data object.
loadScoreService.execute();
} }
/code
/pre