Hierarchy

Properties

autoFocus?: boolean

Whether or not the control should start focused (default: false)

className?: string

CSS Class name for additional styles

disabled?: boolean

Whether or not the control is disabled (default: false)

displayAsRows?: boolean

Whether or not the values displays inline or as rows

error?: string

If set, indicates the control has an error and will display this prop as the error message

id?: string

Form control id

inlineMode?: boolean

Hide options not needed in the “inline” scenario

label?: string

Form control label

liveSuggestionsDelay?: number

Determines how often liveSuggestionsResolver will be called. Timer is in milliseconds (default: 200)

liveSuggestionsResolver?: ((value) => string[] | Promise<string[]>)

Type declaration

    • (value): string[] | Promise<string[]>
    • If set, enables live suggestions. Emits the currently typed input value and expects an array of suggestions to be displayed

      Parameters

      • value: string

      Returns string[] | Promise<string[]>

name: string

Name of form control, required and must be unique from other form control names. This name should match the the name of the object corresponding to this control.

onBlur?: ((event) => void)

Type declaration

    • (event): void
    • Raised when the element has been selected

      Parameters

      • event: ChangeEvent<HTMLInputElement>

      Returns void

onChange?: ((event) => void)

Type declaration

    • (event): void
    • Raised when the value has changed

      Parameters

      • event: ChangeEvent<HTMLInputElement>

      Returns void

onFocus?: ((event) => void)

Type declaration

    • (event): void
    • Raised when the element has been de-selected

      Parameters

      • event: ChangeEvent<HTMLInputElement>

      Returns void

placeholder?: string

Input placeholder

tooltipContent?: ReactNode

A tooltip of additional information

type?: string

Input element type (default: 'text')

value?: string[]

If set, sets the form control value

Generated using TypeDoc