Closed dekhaus closed 8 years ago
Can you create a JSFiddle example, you can use mockResponse
to specify the returned JSON and fork the link in the readme.
Also can you confirm you are using the latest version of SUI? There was bugs related to onSelect not finding the result in some cases that were solved in previous releases.
Closing until there's a test case.
Hi
Specifically the 'onSelect' callback is sent two valid values for 'result' and 'response'.
I can click on either or the two result rows and everything works.
When I perform another search - say for 'headphones' - my endpoint returns the following json...
which is structurally identical to the previous result.
The problem is that the onSelect callback has null as the value for result.
Thanks Dave