useWorkspaceUsersSearch()
Beta API. Mostly stable, but details may change in a minor release, outside SemVer.
Debounced workspace-user search for a recipients control.
Queries the first 50 matching workspace users, 300 ms debounced, lazily: no request is made until IUseWorkspaceUsersSearchResult.onActivate is called. Requires only the ambientBackendProvider and WorkspaceProvider from @gooddata/sdk-ui — it reads no automation context, so a custom recipients control can call it anywhere inside a Dashboard (or any backend/workspace scope). The default recipients select of both automation dialogs is built on it. Pass enabled: false to keep it inert (the default select does so when an external recipient override or a logged-user-only constraint removes server search).
export declare function useWorkspaceUsersSearch(input: {
enabled: boolean;
}): IUseWorkspaceUsersSearchResult;
Parameters
Parameter | Type | Description |
|---|---|---|
{ enabled } | (not declared) | |
input | { enabled: boolean; } |
Returns