Skip to main content
Version: 2.0.0

Interface: EntityCustomViewParams<M>

Parameters passed to the builder in charge of rendering a custom panel for an entity view.

Type parameters​

NameType
Mextends 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

Defined in​

lib/src/types/collections.ts:470

Enterprise or start-up?

Learn how to get the most out of your project with the help of our consulting team.
Learn more
Sign up to our newsletter to get the latest news and updates. No spam!