set selectmenu to load alphabetically
Posted: Wed Jan 16, 2013 5:09 pm
Hi,
how do I get a selectmenu to load alphabetically?
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/
Hi,
how do I get a selectmenu to load alphabetically?
Hello,
The list returned from the service should be sorted in the order you need.
the list returned from localstorage is in the order the array items are created, I would like them to load aplhabetically
As you load the values, they would need to be sort programatically.
Thanks Katya,
can this be done with js on click the save button
Yes, you can sort an array while saving in localStorage.