API Reference@grafana/dataSelectFieldConfigSettings

SelectFieldConfigSettings interface

Signature

export interface SelectFieldConfigSettings<T> 

Import

import { SelectFieldConfigSettings } from '@grafana/data';

Properties

PropertyTypeDescription
allowCustomValueboolean
getOptions(context: FieldOverrideContext) => Promise<Array<SelectableValue<T>>>Optionally use the context to define the options
isClearableboolean
optionsArray<SelectableValue<T>>The default options

allowCustomValue property

Signature

allowCustomValue?: boolean;

getOptions property

Optionally use the context to define the options

Signature

getOptions?: (context: FieldOverrideContext) => Promise<Array<SelectableValue<T>>>;

isClearable property

Signature

isClearable?: boolean;

options property

The default options

Signature

options: Array<SelectableValue<T>>;