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

Confirmation Window doesn't contain values when they were not changed #417

Closed ebabeshko closed 5 months ago

ebabeshko commented 5 months ago

I need Submit button to be always enabled regardless of value changes, therefore I set Enable Update to Manual

Update Request

and specified the following code

context.panel.enableSubmit()

in the Custom Code field of Initial Action

Submit button is always enabled now, but if value wasn't changed and I click on Submit, Confirmation Window doesn't contain values at all:

Confirmation Window

I expected to see old and new values equal here instead of not seeing them at all

When value was changed, everything is fine:

Confirmation Window

Is this an intended behaviour?

I am using latest Data Manipulation 3.8.0

mikhail-vl commented 5 months ago

@ebabeshko It's expected behavior.

We will add an option to display old and new values even when they are not modified in the future release.