Comments (8)
Hi @mikhail-vl
Thanks for the response!
Will try this and get back this once done.
Regards,
Henjoe
from volkovlabs-form-panel.
Thanks @mikhail-vl !
All works!
Regards,
Henjoe
from volkovlabs-form-panel.
Sure @mikhail-vl !
This is totally fine, I'll get back to this thread once done :)
from volkovlabs-form-panel.
@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.
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.
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.
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.
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.
I blurred out the table for data privacy.
Thanks for this wonderful panel!
Regards,
Henjoe
from volkovlabs-form-panel.
Related Issues (20)
- Search greyed out HOT 1
- Add elements group HOT 1
- Remove existing rows from a table HOT 1
- Add File option to upload single or multiple files
- Adding custom color/background color for elements
- Panel multi select not hiding correctly HOT 2
- Panel "Submit" halts and raises "Uncaught (in promise)" HOT 3
- Question: Http POST very slow, take too much time HOT 1
- Add new element MultiSelect list HOT 4
- Prepare for Grafana 11
- Initial action of Datasource and custom code HOT 3
- "Update Request Payload" code selection can just return a string? HOT 5
- Unable to give same value after dashboard save HOT 2
- Synchronize with data (dashboard updates) disabled - disables the use of dashboard variables HOT 3
- Pre-define already selected type for a new option
- `ElementDateEditor` cyclically transforms non UTC dates to UTC on every onChange() HOT 1
- Auto showing data triggered after choose value of payload HOT 1
- conditional panel load HOT 1
- Custom table update HOT 1
- Bypass `Content-Security-Policy` HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from volkovlabs-form-panel.