Hierarchy

  • UpDataEditControl
    • UpFileEditControl

Properties

element: HTMLInputElement
name: string

Accessors

  • get required(): boolean
  • Check if the upload is required.

    Returns boolean

  • set required(value): void
  • Set the upload as (not) required. @NOTE: Only for web purposes, server side is unaffected!

    Parameters

    • value: boolean

      set to required (true)or not required (false)

    Returns void

Methods

  • Returns void

  • Check if the field content is valid:

    • are all uploads finished
    • if the field is required, does it have content

    Returns Promise<ValidationInfo>

  • Disable the file upload.

    Returns void

  • Enable the file upload.

    Returns void

  • Get the number of files (uploaded & selected for upload).

    Returns number

  • Get the number of selected but not uploaded files.

    Returns number

  • Get the number of already uploaded files.

    Returns number

  • Get the value of the control. At the moment the filename(s) will be returned.

    Returns string[]

  • Check if the upload is enabled.

    Returns boolean

  • Returns Promise<void>