SelectFieldConfigSettings interface

Signature

  1. export interface SelectFieldConfigSettings<T>

Import

  1. 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

  1. allowCustomValue?: boolean;

getOptions property

Optionally use the context to define the options

Signature

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

isClearable property

Signature

  1. isClearable?: boolean;

options property

The default options

Signature

  1. options: Array<SelectableValue<T>>;