ajayparsana / ionic-autocomplete

Auto complete box for ionic mobile app
GNU General Public License v2.0
7 stars 2 forks source link

autocompleteInputAsync - Result list never shows up for a custom API #2

Closed seatechdev closed 7 years ago

seatechdev commented 7 years ago

OS: iOS I first tested this with the service that is provided in the Demo code https://restcountries.eu/rest/v1/name/india and it works fine in the app. Then pointed it to my own custom restufl API. Changed the name 'propNameToDisplay': to 'retail_product_name', from 'name'

I can see the results in my Xcode console but list never appears in the app and Selected Item: shows whatever I type in the input box. My database is fairly large therefore I cannot load it all at once for a synchronous call.

Any suggestions how can I make this work?

seatechdev commented 7 years ago

Got it working. The issue was in my api code. Thank you for your attention and responding to my email.

ajayparsana commented 3 years ago

Closing this as issue is fixed