Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IWPSearchEditForm

Search WebPart Edit Form

Hierarchy

Index

Properties

Optional actions

actions: Array<IButtonProps>

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

Optional listQuery

listQuery: IODataQuery

The odata list query.

Optional onListChanged

onListChanged: (wpInfo: IWPSearchInfo, list?: IListQuery | List) => Array<IFormControlProps> | PromiseLike<Array<IFormControlProps>> | void

The list changed event.

Type declaration

    • (wpInfo: IWPSearchInfo, list?: IListQuery | List): Array<IFormControlProps> | PromiseLike<Array<IFormControlProps>> | void
    • Parameters

      Returns Array<IFormControlProps> | PromiseLike<Array<IFormControlProps>> | void

Optional onListsLoaded

onListsLoaded: (wpInfo: IWPSearchInfo, lists?: Array<IListQuery | List>) => Array<IListQuery | List>

The lists loaded event.

Type declaration

    • (wpInfo: IWPSearchInfo, lists?: Array<IListQuery | List>): Array<IListQuery | List>
    • Parameters

      Returns Array<IListQuery | List>

Optional onRenderForm

onRenderForm: (wpInfo: IWPSearchInfo, list?: IListQuery | List) => Array<IFormControlProps> | PromiseLike<Array<IFormControlProps>> | void

The render form event.

Type declaration

    • (wpInfo: IWPSearchInfo, list?: IListQuery | List): Array<IFormControlProps> | PromiseLike<Array<IFormControlProps>> | void
    • Parameters

      Returns Array<IFormControlProps> | PromiseLike<Array<IFormControlProps>> | void

Optional onSave

onSave: (wpCfg?: IWPSearchCfg, form?: IForm) => IWPSearchCfg

The save event.

Type declaration

Optional showSaveButton

showSaveButton: boolean

True to hide the save button.

Generated using TypeDoc