Giter VIP home page Giter VIP logo

Comments (8)

henjoe avatar henjoe commented on June 1, 2024 1

Hi @mikhail-vl
Thanks for the response!
Will try this and get back this once done.

Regards,
Henjoe

from volkovlabs-form-panel.

henjoe avatar henjoe commented on June 1, 2024 1

Thanks @mikhail-vl !

All works!

Regards,
Henjoe

from volkovlabs-form-panel.

henjoe avatar henjoe commented on June 1, 2024 1

Sure @mikhail-vl !

This is totally fine, I'll get back to this thread once done :)

from volkovlabs-form-panel.

mikhail-vl avatar mikhail-vl commented on June 1, 2024

@henjoe Thank you for trying the plugin.

Values for the form can be clearout using a custom Code

elements.map((element) => {element.value = ''});

It's partially explained in the article, but we should make it more clear: https://volkovlabs.com/data-manipulation-panel-plugin-for-grafana-97f9af2c67e0

Please let me know if there is anything else.

from volkovlabs-form-panel.

henjoe avatar henjoe commented on June 1, 2024

Hi @mikhail-vl ,

This code:
elements.map((element) => {element.value = ''})

works well when putting all the value to "null" or blank.

However, what if a specific element only that I would like to set it to blank?
Is there a way to specify their IDs?
For example, I only want the Name (with id name) the only element to set in blank?

Thanks!

Regards,
Henjoe

from volkovlabs-form-panel.

mikhail-vl avatar mikhail-vl commented on June 1, 2024

Hello @henjoe

It's an advantage of the custom code. You can make it as flexible as possible.

For name only it will look like that:

elements.map((element) => {
   if (element.id === 'name') {
     element.value = '';
   };
})

Please let me know if you need anything else.

from volkovlabs-form-panel.

mikhail-vl avatar mikhail-vl commented on June 1, 2024

@henjoe,

Great!

Do you mind sharing a couple of finished screenshots with a project description? I would love to share with the community. If you can't, that's totally fine.

from volkovlabs-form-panel.

henjoe avatar henjoe commented on June 1, 2024

Hi @mikhail-vl ,

So here is what I done so far in Data Manipulation Panel.
I used the panel to get the basic information we needed, when the "submit" button is clicked, it goes to my backend API (nodered) and it send the data fo my InfluxDB. Then of course, from influxDB, you can visualize things in Grafana.

image

I blurred out the table for data privacy.

Thanks for this wonderful panel!

Regards,
Henjoe

from volkovlabs-form-panel.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.