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

Can the Reset button be disabled? #278

Closed rantinray closed 10 months ago

rantinray commented 1 year ago

It appears that the Reset button is always enabled. Could it be somehow tied to the state that drives the Submit button so that the Reset is only enabled when the local data has been modified from the initial conditions?

Thanks, -Ray

rantinray commented 1 year ago

I guess a more general use case would be to be able to disable the Reset button from the code. That way it could be used for things other than Reset.

-Ray

mikhail-vl commented 1 year ago

@asimonok Can we implement logic similar to elements showIf for reset button?