Interface IWPListFieldsEditForm<IListFieldsCfg, IListFieldsInfo>

List Fields 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: IListFieldsInfo
      • Optional lists: (List | IListQuery)[]

      Returns (List | IListQuery)[]

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

Type declaration

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

Type declaration

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

      Parameters

      • Optional wpCfg: IListFieldsCfg
      • Optional form: IForm

      Returns IListFieldsCfg

showSaveButton?: boolean

True to hide the save button.

Generated using TypeDoc