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

Question: Is there a way to validation form before submit? #267

Closed ivan-stankov-golang closed 1 year ago

ivan-stankov-golang commented 1 year ago

Is there a way to validation form with custom code before submit?

mikhail-vl commented 1 year ago

@ivan-stankov-golang Are you using Rest API? You can use custom requests to verify input and submit if it's correct.

There was another request for form validation. And we will look into it.

ivan-stankov-golang commented 1 year ago

@mikhail-vl so I need to use custom code and do the validation and the http request? Thank you.

mikhail-vl commented 1 year ago

@ivan-stankov-golang That's the way.

We will look into adding validation in the future versions.