Skip to content

Home > @liquidrazor/list-display > FieldFilterConfig

FieldFilterConfig interface

Per-field filter configuration.

Signature:

typescript
export interface FieldFilterConfig<TRow = any, TValue = any>

Properties

Property

Modifiers

Type

Description

normalize?

(value: TValue, row: TRow) => string | number | boolean | null

(Optional) Normalizes a raw value from the row into something that can be used for generic filtering / searching.

operators?

FilterOperator[]

(Optional)

options?

FilterOption[]

(Optional) Optional list of static options (for select / multiSelect).

type

FilterType