Interface FilterComponentProps

Props passed to a filter widget produced by useResource().components.

interface FilterComponentProps {
    data?: any[];
    labelOverride?: string;
    onChange: (v: string) => void;
    value: string;
}

Properties

data?: any[]

The current page of rows (used by client-mode suggestions).

labelOverride?: string

Overrides the field's label for this filter widget.

onChange: (v: string) => void

Called with the updated filter value.

value: string

Current filter value (comma-joined for multi-value filters).