Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Properties

accept

accept: string

file_extension|audio/*|video/*|image/*|media_type

Passed directly to the underlying input element.

Optional asyncValidator

asyncValidator?: AsyncValidator<FileInputValue>

Optional defaultValue

defaultValue?: FileInputValue

Optional enabled

enabled?: boolean

Optional formLevelValidatorOutput

formLevelValidatorOutput?: ValidatorOutput

Optional id

id?: string

Optional inputAttributes

inputAttributes?: HTMLProps<HTMLInputElement>

name

name: string

showValidation

showValidation: boolean

Optional validationKey

validationKey?: string | number | boolean

validators

validators: Validator<FileInputValue>[]

Optional value

Methods

Optional onAsyncError

  • onAsyncError(e: unknown): void
  • defaults to onError from ItiReactCoreContext

    Parameters

    • e: unknown

    Returns void

Optional onChange

Optional onValidChange

  • onValidChange(name: string, valid: boolean): void
  • Parameters

    • name: string
    • valid: boolean

    Returns void

Generated using TypeDoc