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

API Reference@grafana/dataonUpdateDatasourceSecureJsonDataOption

onUpdateDatasourceSecureJsonDataOption variable

onUpdateDatasourceSecureJsonDataOption variable

Signature

onUpdateDatasourceSecureJsonDataOption: <J, S extends {} = KeyValue<any>>(props: DataSourcePluginOptionsEditorProps<J, S>, key: string) => (event: React.SyntheticEvent<HTMLInputElement | HTMLSelectElement>) => void

Import

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