Forest Admin - API reference
    Preparing search index...

    Type Alias SearchOptionsHandler<Context, TValue>

    SearchOptionsHandler:
        | ((context: Context, searchValue: string) => DropdownOption<TValue>[])
        | (
            (
                context: Context,
                searchValue: string,
            ) => Promise<DropdownOption<TValue>[]>
        )

    Type Parameters

    • Context = unknown
    • TValue = string