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

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) =&gt; Promise&lt;Array&lt;SelectableValue&lt;T&gt;&gt;&gt;</code> | Optionally use the context to define the options |
| [options](#options-property) | <code>Array&lt;SelectableValue&lt;T&gt;&gt;</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>>;
```