As title says, a prop like searchFunc that can return an array of strings, or an array of objects with {title: string, value: string, highlights?: {start: number, stop: number}[]}, or that but as a promise. (Removes the need to supply data)
This also requires a getLabel function for two way binding.
As title says, a prop like searchFunc that can return an array of strings, or an array of objects with
{title: string, value: string, highlights?: {start: number, stop: number}[]}
, or that but as a promise. (Removes the need to supply data)This also requires a getLabel function for two way binding.
Willing to implement it myself.