+++
# -----------------------------------------------------------------------
# Do not edit this file. It is automatically generated by API Documenter.
# -----------------------------------------------------------------------
title = "onUpdateDatasourceJsonDataOption"
keywords = ["grafana","documentation","sdk","@grafana/data"]
type = "docs"
draft = true
+++

## onUpdateDatasourceJsonDataOption variable

### onUpdateDatasourceJsonDataOption variable

<b>Signature</b>

```typescript
onUpdateDatasourceJsonDataOption: <J, S, K extends keyof J>(props: DataSourcePluginOptionsEditorProps<J, S>, key: K) => (event: import("react").SyntheticEvent<HTMLInputElement | HTMLSelectElement, Event>) => void
```
<b>Import</b>

```typescript
import { onUpdateDatasourceJsonDataOption } from '@grafana/data';
```
