Skip to main content

EditResourceConfig

Configuration options for customizing the appearance and behavior of the EditResource component

See

EditResourceProps for component props that accept this configuration

Properties

additionalResources?

optional additionalResources: string[]

Array of additional resource names to be included in tabs


backArrowUrl?

optional backArrowUrl: string

Custom Url to navigate to when the back arrow is clicked Only used when showBackArrow is true


columns?

optional columns: number

Number of columns for displaying form fields (1 or 2)


customActionFields?

optional customActionFields: EditResourceCustomFieldConfig[]

Array of custom field configurations to be displayed within the edit resource form


displayMode?

optional displayMode: EditResourceConfigDisplayMode

Controls the overall display mode of the edit form


hiddenRelatedResources?

optional hiddenRelatedResources: string[]

Array of related resource names that should be hidden


hideBottomCancelButton?

optional hideBottomCancelButton: boolean

Hides the cancel button in the bottom section


hideBottomDeleteButton?

optional hideBottomDeleteButton: boolean

Hides the delete button in the bottom section


hideBottomSaveButton?

optional hideBottomSaveButton: boolean

Hides the save button in the bottom section


hideExpandButton?

optional hideExpandButton: boolean

Hides the expand button for showing hidden properties


hideTopCancelButton?

optional hideTopCancelButton: boolean

Hides the cancel button in the top section


hideTopDeleteButton?

optional hideTopDeleteButton: boolean

Hides the delete button in the top section


hideTopSaveButton?

optional hideTopSaveButton: boolean

Hides the save button in the top section


propertyConfigs

propertyConfigs: Map<string, EditResourcePropertyConfig>

Map of property configurations keyed by property name


showBackArrow?

optional showBackArrow: boolean

Controls visibility of the back navigation arrow


showImageUrlField?

optional showImageUrlField: boolean

When true, enables the ability to change the image Url of the resource


optional showManageLinks: boolean

Shows management links for the resource


showResourceImage?

optional showResourceImage: boolean

Controls visibility of the resource image


showSavingStatus?

optional showSavingStatus: boolean

Determines whether the saving status indicator is displayed


showTitle?

optional showTitle: boolean

Controls visibility of the resource title


tableConfig?

optional tableConfig: TableConfig

Configuration for the table displayed in tabs (for related resources)


tabsConfig?

optional tabsConfig: EditResourceTabsConfig

Configuration for tabs layout and visibility


unstableLayout?

optional unstableLayout: Layout

Allows customizing the component's layout.


whitelistPropertiesOnly?

optional whitelistPropertiesOnly: boolean

When true, only properties explicitly defined in propertyConfigs with visible=true will be displayed