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
stringThe ID of the block where this input component should be used.
field
property
stringThe name of the field where this input component should be used.
component
property
DataInputComponentThe React component that will be rendered as the input.
It should accept value, onChange, and other standard input props.