Docs: updated packages reference docs for 7.1.0-beta1. (#25958)
This commit is contained in:
@@ -23,10 +23,32 @@ import { SelectFieldConfigSettings } from '@grafana/data';
|
||||
|
||||
| Property | Type | Description |
|
||||
| --- | --- | --- |
|
||||
| [options](#options-property) | <code>Array<SelectableValue<T>></code> | |
|
||||
| [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
|
||||
|
||||
Reference in New Issue
Block a user