Skip to main content

DetailForms

DashboardDetailFormInputComponent

Allows you to replace the rendered input for specific native fields in detail forms. The pageId is already defined in the detail form extension, so only the blockId and field are needed.

Signature

blockId

propertystring

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

field

propertystring

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

component

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

DashboardDetailFormExtensionDefinition

Allows you to extend existing detail forms (e.g. on the product detail or customer detail pages) with custom GraphQL queries and native field input overrides.

Signature

pageId

propertystring

The ID of the page where the detail form is located, e.g. 'product-detail', 'order-detail'.

extendDetailDocument

propertystring | DocumentNode | (() => DocumentNode | string)

Extends the GraphQL query used to fetch data for the detail page, allowing you to add additional fields that can be used by page blocks or custom input components.

inputs

Input components which replace specific native fields in the detail form.

Was this chapter helpful?
Report Issue
Edited Jun 24, 2026ยทEdit this page