tridion-sites-extensions-api-docs

Home > @tridion-sites/extensions > ContentEditorMultivalueFormFieldExtensionProps

ContentEditorMultivalueFormFieldExtensionProps interface

Props passed to multivalue collection field extension components. Unlike single-value field extensions that render per item, multivalue extensions receive the entire array of values and render the collection as a single component.

Signature:

export interface ContentEditorMultivalueFormFieldExtensionProps<T = any>

Properties

Property Modifiers Type Description
fieldDefinition   ItemFieldDefinition Field definition of the form field
isDisabled   boolean Boolean to indicate whether the field should be rendered in a disabled state
isReadOnly   boolean Boolean to indicate whether the field should be rendered in read only mode
renderContainer   ReactNode Original multivalue container to render as fallback
setValues   (values: T[]) => void Set all field values at once
values   T[] Array of all values in the multivalue field