Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Properties

Optional asyncValidator

asyncValidator?: AsyncValidator<string>

Optional className

className?: string

This class name will be used in addition to form-control and the validation feedback class.

Optional defaultValue

defaultValue?: string

Optional enabled

enabled?: boolean

Optional formLevelValidatorOutput

formLevelValidatorOutput?: ValidatorOutput

Optional id

id?: string

Optional inputAttributes

inputAttributes?: Omit<HTMLProps<HTMLInputElement>, ValidatedInputOmittedHtmlProps> | Omit<HTMLProps<HTMLTextAreaElement>, ValidatedInputOmittedHtmlProps>

name

name: string

showValidation

showValidation: boolean

Optional type

type?: string

Optional validationKey

validationKey?: string | number | boolean

validators

validators: Validator<string>[]

Optional value

value?: string

Methods

Optional onAsyncError

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

    Parameters

    • e: unknown

    Returns void

Optional onChange

  • onChange(value: string): void
  • Parameters

    • value: string

    Returns void

Optional onValidChange

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

    • name: string
    • valid: boolean

    Returns void

Generated using TypeDoc