VolkovLabs / business-forms

The Business Forms panel is a conceptually new plugin for Grafana. It is the first plugin that allows inserting and updating application data, as well as modifying configuration directly from your Grafana dashboard.
https://docs.volkovlabs.io
Apache License 2.0
86 stars 10 forks source link

How to make submit button always enabled? #419

Closed emr17 closed 5 months ago

emr17 commented 5 months ago

Currently submit button enables only if i change initial values of form elements. But i want to make that button enabled all the time. How can i do it? image

ebabeshko commented 5 months ago

I described my steps here:

https://github.com/VolkovLabs/volkovlabs-form-panel/issues/417

mikhail-vl commented 5 months ago

@ebabeshko You are correct, enableSubmit() is the way.

context.panel.enableSubmit()

We are working on a documentation PR to update it, should be ready later today/tomorrow: https://github.com/VolkovLabs/volkovlabs.io/pull/686