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

Add TextLink form element #286

Closed tomikos closed 1 year ago

tomikos commented 1 year ago

It's currently not possible to display a clickable link Would be very nice to have it https://github.com/grafana/grafana/tree/main/packages/grafana-ui/src/components/Link

And in general, is it possible to just support the use of any element from the grafana-ui in a smart dynamic way?

mikhail-vl commented 1 year ago

@tomikos Every element from grafana-ui is different and requires specific parameters. We can think of something, but at this point DM supports most of the required elements already.

Regarding TextLink, what is the use case? How do you display it?

tomikos commented 1 year ago

@mikhail-vl think of displaying a hyperlink to another system. When a user clicks on Submit we create a record in the DB, as part of the created record there's a link to another system that I want to disaply to the user. Right now I display it as a Read-only box which is not clickable.

mikhail-vl commented 1 year ago

@asimonok Can we add a new Link element?