mirror of
https://github.com/grafana/grafana.git
synced 2025-07-31 22:02:17 +08:00
57 lines
1.4 KiB
Markdown
57 lines
1.4 KiB
Markdown
+++
|
|
# -----------------------------------------------------------------------
|
|
# Do not edit this file. It is automatically generated by API Documenter.
|
|
# -----------------------------------------------------------------------
|
|
title = "SelectFieldConfigSettings"
|
|
keywords = ["grafana","documentation","sdk","@grafana/data"]
|
|
type = "docs"
|
|
+++
|
|
|
|
## SelectFieldConfigSettings interface
|
|
|
|
<b>Signature</b>
|
|
|
|
```typescript
|
|
export interface SelectFieldConfigSettings<T>
|
|
```
|
|
<b>Import</b>
|
|
|
|
```typescript
|
|
import { SelectFieldConfigSettings } from '@grafana/data';
|
|
```
|
|
<b>Properties</b>
|
|
|
|
| Property | Type | Description |
|
|
| --- | --- | --- |
|
|
| [allowCustomValue](#allowcustomvalue-property) | <code>boolean</code> | |
|
|
| [getOptions](#getoptions-property) | <code>(context: FieldOverrideContext) => Promise<Array<SelectableValue<T>>></code> | Optionally use the context to define the options |
|
|
| [options](#options-property) | <code>Array<SelectableValue<T>></code> | The default options |
|
|
|
|
### allowCustomValue property
|
|
|
|
<b>Signature</b>
|
|
|
|
```typescript
|
|
allowCustomValue?: boolean;
|
|
```
|
|
|
|
### getOptions property
|
|
|
|
Optionally use the context to define the options
|
|
|
|
<b>Signature</b>
|
|
|
|
```typescript
|
|
getOptions?: (context: FieldOverrideContext) => Promise<Array<SelectableValue<T>>>;
|
|
```
|
|
|
|
### options property
|
|
|
|
The default options
|
|
|
|
<b>Signature</b>
|
|
|
|
```typescript
|
|
options: Array<SelectableValue<T>>;
|
|
```
|