fix(typeahead): Support typeahead on composite elements