[Typeahead] added support for Arrays