Open sulthan-ahmed opened 8 years ago
Hi @sulthan-ahmed,
You can add a function that compares against known country misspellings or aliases (Czech Republic, Czechia etc) as the data-set source
property.
It's in the documentation here: https://github.com/twitter/typeahead.js/blob/master/doc/jquery_typeahead.md#datasets
Their is a business case to have different spellings and misspellings of countries. This is a requirement for registered traveller. I'm happy to work on this but I thought I should raise it. A good example of what RT want is here.
http://baymard.com/labs/country-selector