Hello ,
the setEditor and the setDefault in module.tsx doesn’t work anymore in Grafana v7.2, there is an alternative please?
Other question what is the alternative for the onOptionsChange in this same version please?
My code works until Grafana v7.2 this my module.tsx
import { PanelPlugin } from '@grafana/data';
import { SimpleOptions, defaults } from './types';
import { SimplePanel } from 'SimplePanel';
import { SimpleEditor } from 'SimpleEditor';
export const plugin = new PanelPlugin<SimpleOptions>(SimplePanel);
plugin.setEditor(SimpleEditor);
plugin.setDefaults(defaults);
Best Regards