Menu

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.

Enterprise Open source

FieldConfigEditorProps interface

Signature

typescript
export interface FieldConfigEditorProps<TValue, TSettings> extends Omit<StandardEditorProps<TValue, TSettings>, 'item'> 

Import

typescript
import { FieldConfigEditorProps } from '@grafana/data';

Properties

PropertyTypeDescription
contextFieldOverrideContext
itemFieldConfigPropertyItem<TValue, TSettings>
onChange(value?: TValue) => void
valueTValue

context property

Signature

typescript
context: FieldOverrideContext;

item property

Signature

typescript
item: FieldConfigPropertyItem<TValue, TSettings>;

onChange property

Signature

typescript
onChange: (value?: TValue) => void;

value property

Signature

typescript
value: TValue;