Home Reference Source
public class | source

DropDown

Extends:

react~Component → DropDown

Single selection component that allows selection of one of multiple options that will appear in a drop down and hide on blur.

Static Member Summary

Static Public Members
public static

propTypes: {"allowCustomValue": *, "ariaLabel": *, "placeholder": *, "optionList": *, "clearable": *, "onValueChange": *, "searchable": *, "caseSensitiveSearch": *, "searchByLabelOrValue": *, "value": *, "disabled": *, "hidden": *, "tabIndex": *}

PropTypes

Static Public Members

public static propTypes: {"allowCustomValue": *, "ariaLabel": *, "placeholder": *, "optionList": *, "clearable": *, "onValueChange": *, "searchable": *, "caseSensitiveSearch": *, "searchByLabelOrValue": *, "value": *, "disabled": *, "hidden": *, "tabIndex": *} source

PropTypes

Properties:

NameTypeAttributeDescription
caseSensitiveSearch boolean
  • optional
  • default: false

Performs case-sensitive search

clearable boolean
  • optional
  • default: false

Displays a clear button that will remove all text from the search text box

placeholder string
  • optional

Text to be displayed when there is no selection

searchable boolean
  • optional
  • default: false

Displays the search text box

searchByLabelOrValue string
  • optional
  • default: 'label'

Specifies which properties ('label', 'value', 'both') of the optionList will be included in the search