Hong-Kong-Districts-Info/dashboard-hkdistrictcouncillors

Add fuzzy search to search bar

Closed this issue · 2 comments

One potential enhancement in the future would be to make the search more 'fuzzy', e.g. for "HO MAN TIN", some might put "HOMANTIN" (both are known acceptable spellings).

Originally posted by @martinctc in #23 (comment)

I think I've figured out how we can make this work.

We essentially want to transform (using regex) what the user types into something for the data.

Think this is resolved by the dropdown we already have in the app.