Menu

Important: This documentation is about an older version. It's relevant only to the release noted, many of the features and functions have been updated or replaced. Please view the current version.

Enterprise Open source

MultiSelectCommonProps interface

Signature

typescript
export interface MultiSelectCommonProps<T> extends Omit<SelectCommonProps<T>, 'onChange' | 'isMulti' | 'value'> 

Import

typescript
import { MultiSelectCommonProps } from '@grafana/ui';

Properties

PropertyTypeDescription
onChange(item: Array<SelectableValue<T>>) => {} | void
valueArray<SelectableValue<T>> | T[]

onChange property

Signature

typescript
onChange: (item: Array<SelectableValue<T>>) => {} | void;

value property

Signature

typescript
value?: Array<SelectableValue<T>> | T[];