icemanbsi / searchable_dropdown

MIT License
107 stars 162 forks source link

SearchFn should work on independent key. #62

Open arifpavel opened 4 years ago

arifpavel commented 4 years ago

Currently searchFn works with value as key. But think about a scenario where we want to take id of an item as the value but provide searchability on other keys like name, address, etc; I think we should get a key for a searchable field like searchableKey: item.name That will be so useful.