I create the list in Appery.io:
Me too, I am using Appery UI and the "value change" event is triggered on page load for every row....
Find it here:
Try removing the list and then adding it back, with the event.
The same....alert for every row in page load:
Share your app with a href="mailto:support@appery.io" rel="nofollow"support@appery.io/a
The project has been shared. Thank you.
I opened the app but not sure why it's not working. Going to look at it more.
You can use this project "TEST" for testing purpose.
We are working on another App.
We have solved the problem by using a counter in this way:
Set a local variable on service succes with the size of the array :
localStorage.setItem('size',data.length);
Set a local variable on "Value change" event for the list:
n = parseInt(localStorage.getItem('count')) + 1;
localStorage.setItem('count', n);
Check the values on "Value change" event for the toggle:
var s = parseInt(localStorage.getItem('size'));
var c = localStorage.getItem('count');
if (c s){
alert ("Done !");
}
FInd it here:
http://appery.io/app/view/42ec9b46-87...
I hope this would help for other people.
The service when using Echo is still invoked in the same way. Instead of getting JSON response from a service, it uses the Echo response.
I'm going to look into this more.