Interface IItemFormEditProps

Edit Item Properties

Hierarchy

  • IItemFormEditProps

Properties

elForm?: HTMLElement
info?: IListFormResult
itemId: number
onCreateEditForm?: ((props) => IListFormEditProps)

Type declaration

    • (props): IListFormEditProps
    • Parameters

      • props: IListFormEditProps

      Returns IListFormEditProps

onFormButtonsRendering?: ((buttons) => IButtonProps[])

Type declaration

    • (buttons): IButtonProps[]
    • Parameters

      • buttons: IButtonProps[]

      Returns IButtonProps[]

onFormRendered?: ((form?) => void)

Type declaration

    • (form?): void
    • Parameters

      • Optional form: IListFormEdit

      Returns void

onGetListInfo?: ((props) => IListFormProps)

Type declaration

    • (props): IListFormProps
    • Parameters

      • props: IListFormProps

      Returns IListFormProps

onResetForm?: (() => void)

Type declaration

    • (): void
    • Returns void

onSave?: ((values) => object | PromiseLike<object>)

Type declaration

    • (values): object | PromiseLike<object>
    • Parameters

      • values: any

      Returns object | PromiseLike<object>

onSaveError?: ((err) => void)

Type declaration

    • (err): void
    • Parameters

      • err: any

      Returns void

onSetFooter?: ((el) => void)

Type declaration

    • (el): void
    • Parameters

      • el: HTMLElement

      Returns void

onSetHeader?: ((el) => void)

Type declaration

    • (el): void
    • Parameters

      • el: HTMLElement

      Returns void

onShowForm?: ((form?) => void)

Type declaration

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

Type declaration

    • (item?): void
    • Parameters

      • Optional item: any

      Returns void

onValidation?: ((values?, isValid?) => boolean | PromiseLike<boolean>)

Type declaration

    • (values?, isValid?): boolean | PromiseLike<boolean>
    • Parameters

      • Optional values: any
      • Optional isValid: boolean

      Returns boolean | PromiseLike<boolean>

useModal?: boolean
webUrl?: string

Generated using TypeDoc