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

SelectableValue interface

Used in select elements

Signature

typescript
export interface SelectableValue<T = any> 

Import

typescript
import { SelectableValue } from '@grafana/data';

Properties

PropertyTypeDescription
ariaLabelstring
descriptionstring
iconstring
imgUrlstring
labelstring
valueT

ariaLabel property

Signature

typescript
ariaLabel?: string;

description property

Signature

typescript
description?: string;

icon property

Signature

typescript
icon?: string;

imgUrl property

Signature

typescript
imgUrl?: string;

label property

Signature

typescript
label?: string;

value property

Signature

typescript
value?: T;