Interface IFormControlPropsSearchBox<T>

Form Control Properties - Search Box

Type Parameters

Hierarchy

Properties

assignTo?: ((obj) => void)

Type declaration

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

      Parameters

      Returns void

className?: string

Custom class names.

controlClassName?: string
data?: any
description?: string
el?: HTMLElement

The element to render the component to.

errorMessage?: string
id?: string
isDisabled?: boolean
isPlainText?: boolean
isReadonly?: boolean
label?: string
loadingMessage?: string
maxResults?: number
minCharSearch?: number
multi?: boolean
name?: string
onChange?: ((obj) => void)

Type declaration

    • (obj): void
    • Parameters

      • obj: ISearchBoxUser[]

      Returns void

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

Type declaration

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

Type declaration

onGetValue?: ((control) => any)

Type declaration

onItemAdded?: ((el, item) => void)

Type declaration

    • (el, item): void
    • Parameters

      • el: HTMLElement
      • item: T

      Returns void

onItemsLoaded?: ((items?) => void)

Type declaration

    • (items?): void
    • Parameters

      • Optional items: T[]

      Returns void

onItemsLoading?: (() => T[] | PromiseLike<T[]>)

Type declaration

    • (): T[] | PromiseLike<T[]>
    • Returns T[] | PromiseLike<T[]>

onSearchItems?: ((filter?) => T[] | PromiseLike<T[]>)

Type declaration

    • (filter?): T[] | PromiseLike<T[]>
    • Parameters

      • Optional filter: string

      Returns T[] | PromiseLike<T[]>

onValidate?: ((control, results) => boolean | IFormControlValidationResult<any>)

Type declaration

placeholder?: string
required?: boolean
title?: string
type?: number
validationType?: number
value?: T | T[]

Generated using TypeDoc