Populate select menu with database?
Hello- Having trouble figuring out how to user information in the database to be listed in a select menu. Any thoughts?
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/
Hello- Having trouble figuring out how to user information in the database to be listed in a select menu. Any thoughts?
Hello,
Use List or Read service http://devcenter.appery.io/documentat...
Please find here how to bind service response http://devcenter.appery.io/documentat...
(Select section)
So now using a list service. I have it mapped like it shows in the second link and it still only has the pre-defined options. I then just deleted the three options in the properties menu and added a blank one and it still didn't work.
If taking a look at my app would help you, I shared it with a href="mailto:support@appery.io" rel="nofollow"support@appery.io/a. It is called The Calving Book. username- jane pw- 123
Thanks
Hi Eascards,
Please provide us screen shots where we can see what you have tried so far.
Regarsd.
Hi Eascards,
I've checked your app. And here is result:
1 You are using to populate select component "TheCalvingBook_Books_list_service".
see details: http://prntscr.com/47mdwz/direct
2 But your list service returns nothing(0 items in response).
See details: http://prntscr.com/47meon/direct
So that's means your "Books" collection does not contain any items inside. And you have to populate this collection to see items in the select component.
Regards.
When I check the database, I do have items in the Books collection.
Eascards,
Please show us screen shot with "Books" collection.
Regards.
Eascards,
I still have this issue http://prntscr.com/47ojty/direct
so please share your DB "TheCalvingBook" with a href="mailto:support@appery.io" rel="nofollow"support@appery.io/a and update us here when you will have it done.
Regards