Skip to main content
Version: 1.0.0

SaveListForm

@spartanfx/react v1.0.0


@spartanfx/react / SaveListForm

Function: SaveListForm()

SaveListForm<PreSaveResult>(properties): Promise<void>

Saves a SharePoint list item using values from a form context, optionally performing validation, pre-save logic, and custom transformations.

This function also manages attachment persistence and loading/error feedback.

Type Parameters

PreSaveResult

PreSaveResult

The type of result produced by the onPreSave step.

Parameters

properties

ISaveListFormConfiguration<PreSaveResult>

Configuration for saving the list form

Returns

Promise<void>