Interface: EntityCustomViewParams<M>
Parameters passed to the builder in charge of rendering a custom panel for an entity view.
Type Parameters​
• M extends Record
<string
, any
> = any
Properties​
collection​
collection:
EntityCollection
<M
,any
>
collection used by this entity
Defined in​
packages/firecms_core/src/types/collections.ts:520
entity?​
optional
entity:Entity
<M
>
Entity that this view refers to. It can be undefined if the entity is new
Defined in​
packages/firecms_core/src/types/collections.ts:525
formContext​
formContext:
FormContext
<any
>
Use the form context to access the form state and methods
Defined in​
packages/firecms_core/src/types/collections.ts:537
modifiedValues?​
optional
modifiedValues:M
Modified values in the form that have not been saved yet.
If the entity is not new and the values are not modified, these values
are the same as in entity