Skip to main content

DashboardDetailFormInputComponent

DashboardDetailFormInputComponent

Allows you to define custom input 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 DashboardDetailFormInputComponent {
blockId: string;
field: string;
component: DataInputComponent;
}

blockId

property
string

The ID of the block where this input component should be used.

field

property
string

The name of the field where this input component should be used.

component

property
DataInputComponent

The React component that will be rendered as the input. It should accept value, onChange, and other standard input props.