New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using serviceURL with PHP file always results in "Sorry, no matching results" #814
Comments
Check the response format. It should be:
|
Hey @tkirda , thanks for the speedy reply. That does indeed solve the issue... but having now re-read the doco the option "transformResult" should, in theory, convert a non-standard response into the "suggestions" response format ... and it clearly didn't do that. Any idea why? |
Did you provide your transform result function? |
Yep, sure did!
|
Trying desperately to get the library working with a PHP script. At the moment it's just returning a hardcoded JSON string but as shown in image below ... the result of the PHP file is absolutely 100% a JSON object but the autocomplete field refuses to display it. I know I'm only missing the smallest piece of the puzzle but I'll be darned if I can work out what it is.
Here is the instantiation code:
I have posted the same issue on StackOverflow.
The text was updated successfully, but these errors were encountered: