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>>;