DashboardDetailFormDisplayComponent
DashboardDetailFormDisplayComponent
Allows you to define custom display components for specific fields in detail forms. The pageId is already defined in the detail form extension, so only the blockId and field are needed.
Signature
interface DashboardDetailFormDisplayComponent {
blockId: string;
field: string;
component: DataDisplayComponent;
}
blockId
property
string
The ID of the block where this display component should be used.
field
property
string
The name of the field where this display component should be used.
component
property
DataDisplayComponent
The React component that will be rendered as the display.
It should accept value
and other standard display props.