Permalink
Browse files

Closes #42

  • Loading branch information...
1 parent d25c25d commit 41949a5d863059859ff05eb0d07be1053e8d9e67 @dima committed Jul 3, 2010
Showing with 3 additions and 1 deletion.
  1. +3 −1 framework/src/org/restfulx/components/rx/RxAutoComplete.as
@@ -343,7 +343,9 @@ package org.restfulx.components.rx {
dispatchEvent(new Event("selectedItemChange"));
}
} else {
- dataProvider = new ArrayCollection([{label: noResultText}]);
+ var noResultObject:Object = {};
+ noResultObject[this.labelField] = noResultText;
+ dataProvider = new ArrayCollection([noResultObject]);
noResults = true;
invalidateProperties();
invalidateDisplayList();

0 comments on commit 41949a5

Please sign in to comment.