Interface: EntityCustomViewParams<M>
Parameters passed to the builder in charge of rendering a custom panel for an entity view.
Type parameters​
Name | Type |
---|---|
M | extends Record <string , any > = any |
Properties​
collection​
• collection: EntityCollection
<M
, string
, User
>
collection used by this entity
Defined in​
lib/src/types/collections.ts:458
entity​
• Optional
entity: Entity
<M
>
Entity that this view refers to. It can be undefined if the entity is new
Defined in​
lib/src/types/collections.ts:463
formContext​
• formContext: FormContext
<any
>
Use the form context to access the form state and methods
Defined in​
lib/src/types/collections.ts:475
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