Skip to content
This repository has been archived by the owner on Dec 30, 2024. It is now read-only.

RxAutoComplete - success callback bug #58

Open
istrasci opened this issue Jun 8, 2011 · 1 comment
Open

RxAutoComplete - success callback bug #58

istrasci opened this issue Jun 8, 2011 · 1 comment

Comments

@istrasci
Copy link

istrasci commented Jun 8, 2011

In trying to use the RxAutoComplete component, my server-side search is working correctly and then RxAutoComplete#onResourceSearch callback is triggered. However, it's breaking around line ~345 with an "Error #1009: Cannot access a property or method of a null object reference. The line is

if ((results as Array).length) {

Debugging is showing that results is a TypedArray.

@ghost
Copy link

ghost commented Jun 21, 2011

I think your results is null,
try this :
if ( results != null )

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant