Skip to main content
Version: 2.0.0-alpha

Interface: FormContext<M>

Context passed to custom fields

Type parameters​

NameType
Mextends Object

Properties​

collection​

• collection: ResolvedEntityCollection<M>

Collection of the entity being modified

Defined in​

lib/src/models/fields.tsx:125


entityId​

• entityId: string

Entity id, it can be null if it's a new entity

Defined in​

lib/src/models/fields.tsx:135


path​

• path: string

Path this entity is located at

Defined in​

lib/src/models/fields.tsx:140


values​

• values: M

Current values of the entity

Defined in​

lib/src/models/fields.tsx:130