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
SelectFieldConfigSettings interface
Signature
typescript
export interface SelectFieldConfigSettings<T> Import
typescript
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 |
| isClearable | boolean | |
| options | Array<SelectableValue<T>> | The default options |
allowCustomValue property
Signature
typescript
allowCustomValue?: boolean;getOptions property
Optionally use the context to define the options
Signature
typescript
getOptions?: (context: FieldOverrideContext) => Promise<Array<SelectableValue<T>>>;isClearable property
Signature
typescript
isClearable?: boolean;options property
The default options
Signature
typescript
options: Array<SelectableValue<T>>;Was this page helpful?
Related resources from Grafana Labs
Additional helpful documentation, links, and articles:
Scroll for more