How to map a distinct array of results from a column (field) to a list?
Hi, it's a bug unfortunately. We'll fix it.
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, it's a bug unfortunately. We'll fix it.
I will wait for the fix. Any idea when a fix will be available?
Also, any work arounds in the meantime ?
Thank you and keep up the good work. The response time on you side is superb.
I wish more companies would be like you.
Hello! Thank you for your feedback! Sorry, not sure for now when it's going to be fixed. You can use "add level" buttons in service editor to add fields to the "where" parameter when passing it into POST services (as for now, we require an object there, not a string). Another workaround would be to wrap the string value into JSON.parse before sending it to the server.
Thanks for you response. As a newbie, can you please help me understand your suggestions with an example or two. Very much appreciate your help.
Thanks in advance.
Thanks for you response. As a newbie, can you please help me understand your suggestions with an example or two. Very much appreciate your help.
Thanks in advance.
The first workaround works like a charm. Have not tried the second work around.
You guys are awesome.
Have you tried this with the List component?
I am able to .append() the distinct values to the List, but the list is not clickable.
What am I missing ? See my code snippet below...
----------------------------------------------var Items = arguments[0];
Items.sort();
var FoundList = Appery("mobilelist_FoundItems");
FoundList.empty();
$.each(Items, function(index, option)
{
FoundList.append("" + option + "");
});
FoundList.listview("refresh");
----------------------------------------------Hello! We'll take a look and let you know.
btw - I noticed that the "//" and \\ are not showing up in the message above, but I do have them there.