跳到主要内容

ui/build/form/context

ui/build/form/context

Type Aliases

FieldContext

type FieldContext = FieldProps<unknown>;

Defined in: apps/website/.api-docs-entry/ui/build/form/context.d.ts:15

Field context type (untyped value for context passing)


FieldProps

type FieldProps<TValue> = object;

Defined in: apps/website/.api-docs-entry/ui/build/form/context.d.ts:2

Type Parameters

Type Parameter Default type
TValue unknown

Properties

Property Type Description Defined in
delta JsonPatchOperation[] RFC 6902 JSON Patch operations affecting this field apps/website/.api-docs-entry/ui/build/form/context.d.ts:9
disabled boolean - apps/website/.api-docs-entry/ui/build/form/context.d.ts:10
errors string[] - apps/website/.api-docs-entry/ui/build/form/context.d.ts:7
handleBlur () => void - apps/website/.api-docs-entry/ui/build/form/context.d.ts:6
handleChange (next) => void - apps/website/.api-docs-entry/ui/build/form/context.d.ts:5
name string - apps/website/.api-docs-entry/ui/build/form/context.d.ts:3
value TValue - apps/website/.api-docs-entry/ui/build/form/context.d.ts:4

Functions

getField()

function getField(): () => FieldContext;

Defined in: apps/website/.api-docs-entry/ui/build/form/context.d.ts:17

Returns

() => FieldContext


setField()

function setField<TValue>(getter): void;

Defined in: apps/website/.api-docs-entry/ui/build/form/context.d.ts:16

Type Parameters

Type Parameter
TValue

Parameters

Parameter Type
getter () => FieldProps<TValue>

Returns

void