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.
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 |
isClearable | boolean | |
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>>>;
isClearable property
Signature
isClearable?: boolean;
options property
The default options
Signature
options: Array<SelectableValue<T>>;