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

SelectValueEditor class

Signature

typescript
export declare class SelectValueEditor<T> extends React.PureComponent<Props<T>, State<T>> 

Import

typescript
import { SelectValueEditor } from '@grafana/ui';

Properties

PropertyModifiersTypeDescription
stateState<T>
updateOptions() => Promise<void>

Methods

MethodModifiersDescription
componentDidMount()
componentDidUpdate(oldProps)
render()

state property

Signature

typescript
state: State<T>;

updateOptions property

Signature

typescript
updateOptions: () => Promise<void>;

componentDidMount method

Signature

typescript
componentDidMount(): void;

Returns:

void

componentDidUpdate method

Signature

typescript
componentDidUpdate(oldProps: Props<T>): void;

Parameters

ParameterTypeDescription
oldPropsProps<T>

Returns:

void

render method

Signature

typescript
render(): JSX.Element;

Returns:

JSX.Element