coerceInputType()
coerceInputType(
inputType:InputType|null|undefined,operator:string):InputType
Defined in: packages/core/src/utils/deriveValueEditor.ts:134
The type attribute an <input> should use for a rule. bigint values and the in/notIn
operators (whose value is a comma-separated list) both require a text input.
Parameters
| Parameter | Type |
|---|---|
inputType | InputType | null | undefined |
operator | string |
Returns
caution
API documentation is generated from the latest commit on the main branch. It may be somewhat inconsistent with official releases of React Query Builder.