Vis Editor "play" button

Hello,

I've been trying, without much luck, to create a visualization plugin in the latest version (7.3) in React.
My question is, how can I control the visualization "play" button, how can I control when it can be clicked or not?

play_button

Hi Carlos,

the apply button should work correctly if your editor correctly implements changing parameters. Are you using an Angular implementation for the editor or a React implementation?

You can find a sample visualization in the repository (https://github.com/elastic/kibana/blob/master/test/plugin_functional/plugins/kbn_tp_custom_visualizations/public/self_changing_vis/self_changing_editor.js) which you can use for a react editor as a reference. Please make sure to select the appropriate branch when looking at this, since the API has changed in the last minor version(s).

Cheers,
Tim