This is my first published flex work. A text area with auto complete feature. I searched a lot on net but could not find a component which is a complete "Auto complete component" for text area.
The idea is to get a list of words as you type in the text area. You just need to set the dataProvider array!
The interesting part is the HTML rendering of the list items. You can see that the list items are partially made bold as you have typed those many characters.
Also the component has property to consider case or ignore it and a property appendSpace to insert space when a item in list is selected. The focus is managed such that it never goes to the popped-up list and yet the list actions like arrow keys and enter key are handled by the list.
Component is extended from TextArea flex class.
Please find attached demo swf of the component. Feel free to have any comments and suggestions. Source code is coming soon...stay tuned. :)
Here is the demo application.


Good first post Suhas. Excited to see more.
ReplyDeleteThanks,
Yogesh Pandit
Thanks Yogesh...Yes you will see more. :)
ReplyDelete-
Suhas
Great work, where can I get the source code for this?
ReplyDeleteCan you share the source code please?!
ReplyDelete