FullField<FieldName, OperatorName, ValueName, OperatorObj, ValueObj>
Defined in: packages/react-querybuilder/src/types/basic.ts:129
Full field definition used in the fields
prop of QueryBuilder.
This type requires both name
and value
, but the fields
prop itself
can use a FlexibleOption where only one of name
or value
is
required (along with label
), or Field where only name
and
label
are required.
The name
/value
, operators
, and values
properties of this interface
can be narrowed with generics.
Extends
FullOption
<FieldName
>.BaseFullField
<FieldName
,OperatorName
,ValueName
,OperatorObj
,ValueObj
>
Type Parameters
Type Parameter | Default type |
---|---|
FieldName extends string | string |
OperatorName extends string | string |
ValueName extends string | string |
OperatorObj extends Option | Option <OperatorName > |
ValueObj extends Option | Option <ValueName > |
Indexable
[key
: string
]: unknown
Properties
className?
optional
className:Classname
Defined in: packages/react-querybuilder/src/types/basic.ts:58
Inherited from
BaseFullField.className
comparator?
optional
comparator:string
| (f
:FullField
<Option
,Option
>,operator
:string
) =>boolean
Defined in: packages/react-querybuilder/src/types/basic.ts:116
Inherited from
BaseFullField.comparator
defaultOperator?
optional
defaultOperator:OperatorName
Defined in: packages/react-querybuilder/src/types/basic.ts:111
Inherited from
BaseFullField.defaultOperator
defaultValue?
optional
defaultValue:any
Defined in: packages/react-querybuilder/src/types/basic.ts:113
Inherited from
BaseFullField.defaultValue
disabled?
optional
disabled:boolean
Defined in: packages/react-querybuilder/src/types/options.ts:34
Inherited from
id?
optional
id:string
Defined in: packages/react-querybuilder/src/types/basic.ts:105
Inherited from
BaseFullField.id
inputType?
optional
inputType:null
|InputType
Defined in: packages/react-querybuilder/src/types/basic.ts:109
Inherited from
BaseFullField.inputType
label
label:
string
Defined in: packages/react-querybuilder/src/types/options.ts:33
Inherited from
name
name:
FieldName
Defined in: packages/react-querybuilder/src/types/options.ts:31
Inherited from
operators?
optional
operators:FlexibleOptionList
<OperatorObj
>
Defined in: packages/react-querybuilder/src/types/basic.ts:106
Inherited from
BaseFullField.operators
placeholder?
optional
placeholder:string
Defined in: packages/react-querybuilder/src/types/basic.ts:114
Inherited from
BaseFullField.placeholder
validator?
optional
validator:RuleValidator
Defined in: packages/react-querybuilder/src/types/basic.ts:115
Inherited from
BaseFullField.validator
value
value:
FieldName
Defined in: packages/react-querybuilder/src/types/options.ts:32
Inherited from
valueEditorType?
optional
valueEditorType:ValueEditorType
| (operator
:OperatorName
) =>ValueEditorType
Defined in: packages/react-querybuilder/src/types/basic.ts:107
Inherited from
BaseFullField.valueEditorType
values?
optional
values:FlexibleOptionList
<ValueObj
>
Defined in: packages/react-querybuilder/src/types/basic.ts:110
Inherited from
BaseFullField.values
valueSources?
optional
valueSources:ValueSources
| (operator
:OperatorName
) =>ValueSources
Defined in: packages/react-querybuilder/src/types/basic.ts:108
Inherited from
BaseFullField.valueSources
API documentation is generated from the latest commit on the main
branch. It may be somewhat inconsistent with official releases of React Query Builder.