This is documentation for the next version of Grafana. For the latest stable release, go to the latest version.

API Reference@grafana/dataonUpdateDatasourceSecureJsonDataOptionSelect

onUpdateDatasourceSecureJsonDataOptionSelect variable

onUpdateDatasourceSecureJsonDataOptionSelect variable

Signature

onUpdateDatasourceSecureJsonDataOptionSelect: <J, S extends {} = KeyValue<any>>(props: DataSourcePluginOptionsEditorProps<J, S>, key: string) => (selected: SelectableValue) => void

Import

import { onUpdateDatasourceSecureJsonDataOptionSelect } from '@grafana/data';