IFormAttachments
@spartanfx/react / IFormAttachments
Interface: IFormAttachments
Interface for managing attachments in SharePoint list forms.
Properties
| Property | Type | Description |
|---|---|---|
getAttachments | () => InlineItem<IListFormAttachment>[] | Returns the current list of attachments. |
getAttachmentsAndDeletedAttachments | () => InlineItem<IListFormAttachment>[] | Returns the list of attachments, including those marked for deletion. |
setAttachments | (attachments) => void | Replaces the current attachment list with the provided values. |