List Form Dialog Properties

Hierarchy

  • IListFormProps
    • IListFormDialogProps

Properties

actions?: IToolbarProps

The form actions.

assignTo?: ((obj) => void)

Type declaration

    • (obj): void
    • Assigns the object to the input parameter.

      Parameters

      Returns void

contentType?: string

The content type to target for the list form fields.

controlMode?: number

The form control mode.

el: HTMLElement

The element to render the field to.

excludeFields?: string[]

The form fields to exclude.

fields?: string[]

The form fields

item?: any

The item.

itemId?: number

The item id

listName: string

The list name

loadAttachments?: boolean

Flag to deteremine if we are loading attachments

modalProps?: IModalProps<HTMLElement>

The modal dialog properties.

onControlRendered?: ((control) => void | Promise<IFormControl>)

Type declaration

onControlRendering?: ((control) => void | Promise<IFormControlProps>)

Type declaration

onSaved?: ((item?) => void)

Type declaration

    • (item?): void
    • The form saved event.

      Parameters

      • Optional item: ListItem

      Returns void

onSaving?: ((item) => void | PromiseLike<any>)

Type declaration

    • (item): void | PromiseLike<any>
    • The form saving event.

      Parameters

      • item: any

      Returns void | PromiseLike<any>

query?: IODataQuery

OData query used when loading an item

requestDigest?: string

The request digest value to use w/ the requests

template?: IFormRow[]

The list form rows.

visible?: boolean

True to display the modal by default.

webUrl?: string

The relative web url containing the list

Generated using TypeDoc