grafana/docs/sources/packages_api/data/selectfieldconfigsettings.md

1.4 KiB

+++

-----------------------------------------------------------------------

Do not edit this file. It is automatically generated by API Documenter.

-----------------------------------------------------------------------

title = "SelectFieldConfigSettings" keywords = ["grafana","documentation","sdk","@grafana/data"] type = "docs" +++

SelectFieldConfigSettings interface

Signature

export interface SelectFieldConfigSettings<T> 

Import

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

Properties

Property Type Description
allowCustomValue boolean
getOptions (context: FieldOverrideContext) => Promise<Array<SelectableValue<T>>> Optionally use the context to define the options
options Array<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>>>;

options property

The default options

Signature

options: Array<SelectableValue<T>>;