Skip to content

FilterInputProps

Defined in: packages/core/src/fields/types.ts:277

Props passed to a filter row’s value control — one per filterable field type, registered in reactAdapter.fields[type].filterInput (Decision 50) beside field/cell. op is a plain string, not the list view’s own ListViewFilterOp ("isEmpty"/"isNotEmpty" included) — this type lives in core, and the list-view-only op vocabulary is a packages/react-side concern; a control that cares which op is active (none do today — every registered type renders the same control regardless of eq/neq/gte/lte) can still switch on the string.

TField extends AdminDataField = AdminDataField

Narrows field to a specific field type.

optional disabled?: boolean

Defined in: packages/core/src/fields/types.ts:287

Whether the control is non-interactive — isEmpty/isNotEmpty rows render no control at all rather than passing disabled, so this is for a future caller, not used by ListViewFilterBuilder today.


field: TField

Defined in: packages/core/src/fields/types.ts:279

The resolved field definition — narrows to the specific field type via TField.


onChange: (value) => void

Defined in: packages/core/src/fields/types.ts:285

Replaces the row’s value.

unknown

void


op: string

Defined in: packages/core/src/fields/types.ts:283

The row’s current operator, as a plain string (the list view’s own ListViewFilterOp, stringified).


value: unknown

Defined in: packages/core/src/fields/types.ts:281

The row’s current raw value — undefined/"" for a not-yet-entered row.