FLEX: Hillelcoren - AutoComplete (I cannot use searchText attribute)

Posted by Patrick on Stack Overflow See other posts from Stack Overflow or by Patrick
Published on 2010-05-06T09:41:08Z Indexed on 2010/05/06 10:08 UTC
Read the original article Hit count: 164

Filed under:

hi,

I'm using hillelcoren:AutoComplete component (hillelcoren.com/flex-autocomplete) in my Flex application.

It is really cool, however the text attribute doesn't work:

<hillelcoren:AutoComplete  id="filterTag" dataProvider="{ dataManager.retrievedTagsList }"
  labelField="name" keyUp="filterItems(filterTag.searchText)"
/>  

while for the normal TextInput component it works:

<mx:TextInput id="filterTag" width="100%" keyUp="filterItems(filterTag.text)" />

1) I've tried keyUp="Alert.show(filterTag.searchText)" and I can read the text

2) I've tried filterItems(filterTag.text.toString())... still not working

3) the filterItems function works, because it works with a normal TextInput

thanks

© Stack Overflow or respective owner

Related posts about flex