Interface IWPListEditForm<IListCfg, IListInfo>

List WebPart Edit Form

Type Parameters

Hierarchy

Properties

actions?: IButtonProps[]

The form action buttons displayed in the footer of the modal.

listQuery?: IODataQuery

The odata list query.

onListChanged?: ((wpInfo, list?) => void | IFormControlProps[] | PromiseLike<IFormControlProps[]>)

Type declaration

onListsLoaded?: ((wpInfo, lists?) => (List | IListQuery)[])

Type declaration

    • (wpInfo, lists?): (List | IListQuery)[]
    • The lists loaded event.

      Parameters

      • wpInfo: IListInfo
      • Optional lists: (List | IListQuery)[]

      Returns (List | IListQuery)[]

onRenderForm?: ((wpInfo, list?) => void | IFormControlProps[] | PromiseLike<IFormControlProps[]>)

Type declaration

onSave?: ((wpCfg?, form?) => IListCfg)

Type declaration

    • (wpCfg?, form?): IListCfg
    • The save event.

      Parameters

      • Optional wpCfg: IListCfg
      • Optional form: IForm

      Returns IListCfg

showSaveButton?: boolean

True to hide the save button.

Generated using TypeDoc