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.
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.