The input box is initialized properly but it is not generating any suggestions. Can any one point out what I am doing wrong? Here is the code.
Update
I have investigated the issue. The problem is in the line:
types: ['(cities)', '(regions)']
when I specify only one type types: ['(cities)']
no matter region or cities
it works. But two types are not working together. Although the documentation clearly says that types
are Array of strings and valid values are 'establishment', 'geocode', '(regions)' and '(cities)'