Type Parameters

  • T = string

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)

displayKey?: keyof T

If the tags component uses objects as tagsOptions, this prop is used as the key to identify display value

dropDownLabel?: string

Optional Drop down label (default: '')

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

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: FormEvent<HTMLSelectElement>

      Returns void

onChange?: ((event) => void)

Type declaration

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

      Parameters

      • event: FormEvent<HTMLSelectElement>

      Returns void

onFocus?: ((event) => void)

Type declaration

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

      Parameters

      • event: FormEvent<HTMLSelectElement>

      Returns void

tagsOptions?: T[]

Array of options that can be selected from

tooltipContent?: ReactNode

A tooltip of additional information

value?: string[]

If set, sets the form control value

valueKey?: keyof T

If the tags component uses objects as tagsOptions, this prop is used as the key to identify value

Generated using TypeDoc